Merge pull request #2007 from ONLYOFFICE/fix/de-formKey

[DE] Fix apply empty key (back to old value)
This commit is contained in:
Julia Radzhabova 2022-10-13 19:59:41 +03:00 committed by GitHub
commit 5f7bd9d805
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -576,6 +576,7 @@ define([
onKeyChanged: function(combo, record) {
if (this.api && !this._noApply) {
this._state.Key = undefined;
var props = this._originalProps || new AscCommon.CContentControlPr();
var formPr = this._originalFormProps || new AscCommon.CSdtFormPr();
formPr.put_Key(record.value);