diff --git a/apps/documenteditor/main/app/controller/RightMenu.js b/apps/documenteditor/main/app/controller/RightMenu.js index 2638ede9d5..531c7c82b8 100644 --- a/apps/documenteditor/main/app/controller/RightMenu.js +++ b/apps/documenteditor/main/app/controller/RightMenu.js @@ -569,7 +569,7 @@ define([ if (this._settings[type]===undefined || this._settings[type].hidden || this._settings[type].btn.isDisabled() || this._settings[type].panelId===this.rightmenu.GetActivePane()) return; this.rightmenu.SetActivePane(type, true); - this._settings[type].panel.ChangeSettings.call(this._settings[type].panel); + this._settings[type].panel.ChangeSettings.call(this._settings[type].panel, this._settings[type].props); this.rightmenu.updateScroller(); }, diff --git a/apps/presentationeditor/main/app/controller/RightMenu.js b/apps/presentationeditor/main/app/controller/RightMenu.js index a86c274e7c..3802cc3a05 100644 --- a/apps/presentationeditor/main/app/controller/RightMenu.js +++ b/apps/presentationeditor/main/app/controller/RightMenu.js @@ -453,7 +453,7 @@ define([ if (this._settings[type]===undefined || this._settings[type].hidden || this._settings[type].btn.isDisabled() || this._settings[type].panelId===this.rightmenu.GetActivePane()) return; this.rightmenu.SetActivePane(type, true); - this._settings[type].panel.ChangeSettings.call(this._settings[type].panel); + this._settings[type].panel.ChangeSettings.call(this._settings[type].panel, this._settings[type].props); this.rightmenu.updateScroller(); }, diff --git a/apps/spreadsheeteditor/main/app/controller/RightMenu.js b/apps/spreadsheeteditor/main/app/controller/RightMenu.js index 60092ca47c..45e78468b9 100644 --- a/apps/spreadsheeteditor/main/app/controller/RightMenu.js +++ b/apps/spreadsheeteditor/main/app/controller/RightMenu.js @@ -534,7 +534,7 @@ define([ if (this._settings[type]===undefined || this._settings[type].hidden || this._settings[type].btn.isDisabled() || this._settings[type].panelId===this.rightmenu.GetActivePane()) return; this.rightmenu.SetActivePane(type, true); - this._settings[type].panel.ChangeSettings.call(this._settings[type].panel); + this._settings[type].panel.ChangeSettings.call(this._settings[type].panel, this._settings[type].props); this.rightmenu.updateScroller(); },