Merge pull request #2007 from ONLYOFFICE/fix/de-formKey
[DE] Fix apply empty key (back to old value)
This commit is contained in:
commit
5f7bd9d805
|
@ -576,6 +576,7 @@ define([
|
||||||
|
|
||||||
onKeyChanged: function(combo, record) {
|
onKeyChanged: function(combo, record) {
|
||||||
if (this.api && !this._noApply) {
|
if (this.api && !this._noApply) {
|
||||||
|
this._state.Key = undefined;
|
||||||
var props = this._originalProps || new AscCommon.CContentControlPr();
|
var props = this._originalProps || new AscCommon.CContentControlPr();
|
||||||
var formPr = this._originalFormProps || new AscCommon.CSdtFormPr();
|
var formPr = this._originalFormProps || new AscCommon.CSdtFormPr();
|
||||||
formPr.put_Key(record.value);
|
formPr.put_Key(record.value);
|
||||||
|
|
Loading…
Reference in a new issue