[DE] Fix Bug 53710
This commit is contained in:
parent
5b24e5a40f
commit
4849c1e0ba
|
@ -638,13 +638,16 @@ define([
|
|||
},
|
||||
|
||||
onGroupKeyChanged: function(combo, record) {
|
||||
if (this.api && !this._noApply) {
|
||||
if (this.api && !this._noApply && record.value!=='') {
|
||||
var props = this._originalProps || new AscCommon.CContentControlPr();
|
||||
var specProps = this._originalCheckProps || new AscCommon.CSdtCheckBoxPr();
|
||||
specProps.put_GroupKey(record.value);
|
||||
props.put_CheckBoxPr(specProps);
|
||||
this.api.asc_SetContentControlProperties(props, this.internalId);
|
||||
this.fireEvent('editcomplete', this);
|
||||
} else {
|
||||
this.cmbGroupKey.setValue(this._state.groupKey ? this._state.groupKey : '');
|
||||
this.fireEvent('editcomplete', this);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue