From 5b24e5a40fbcaa5a9bcb6ad9f7ecac2701955a23 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 15 Nov 2021 21:05:27 +0300 Subject: [PATCH 1/2] [DE] Fix Bug 53751 --- apps/documenteditor/main/app/controller/FormsTab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/documenteditor/main/app/controller/FormsTab.js b/apps/documenteditor/main/app/controller/FormsTab.js index 87a70e1b2..b353a076a 100644 --- a/apps/documenteditor/main/app/controller/FormsTab.js +++ b/apps/documenteditor/main/app/controller/FormsTab.js @@ -396,7 +396,7 @@ define([ }, showSaveFormTip: function() { - if (!Common.localStorage.getItem("de-hide-saveform-tip") && !this.tipSaveForm) { + if (this.view.btnSaveForm && !Common.localStorage.getItem("de-hide-saveform-tip") && !this.tipSaveForm) { var me = this; me.tipSaveForm = new Common.UI.SynchronizeTip({ extCls: 'colored', From 4849c1e0ba77a14d86495c66f9e6deda9987199d Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 15 Nov 2021 22:11:10 +0300 Subject: [PATCH 2/2] [DE] Fix Bug 53710 --- apps/documenteditor/main/app/view/FormSettings.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/documenteditor/main/app/view/FormSettings.js b/apps/documenteditor/main/app/view/FormSettings.js index d5f0e6a70..dc3968673 100644 --- a/apps/documenteditor/main/app/view/FormSettings.js +++ b/apps/documenteditor/main/app/view/FormSettings.js @@ -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); } },