From c685a78abfef77e3847279b38a8de20d9a2e962c Mon Sep 17 00:00:00 2001 From: "Julia.Svinareva" Date: Fri, 26 Apr 2024 14:25:20 +0300 Subject: [PATCH] [DE PE SSE PDF] Fix plugins --- apps/documenteditor/main/app/controller/LeftMenu.js | 5 ----- apps/pdfeditor/main/app/controller/LeftMenu.js | 5 ----- apps/presentationeditor/main/app/controller/LeftMenu.js | 5 ----- apps/spreadsheeteditor/main/app/controller/LeftMenu.js | 5 ----- 4 files changed, 20 deletions(-) diff --git a/apps/documenteditor/main/app/controller/LeftMenu.js b/apps/documenteditor/main/app/controller/LeftMenu.js index 72289f6bf0..046fddbcb2 100644 --- a/apps/documenteditor/main/app/controller/LeftMenu.js +++ b/apps/documenteditor/main/app/controller/LeftMenu.js @@ -230,11 +230,6 @@ define([ }, enablePlugins: function() { - if (this.mode.canPlugins) { - // this.leftMenu.btnPlugins.show(); - this.leftMenu.setOptionsPanel('plugins', this.getApplication().getController('Common.Controllers.Plugins').getView('Common.Views.Plugins')); - } else - this.leftMenu.btnPlugins.hide(); (this.mode.trialMode || this.mode.isBeta) && this.leftMenu.setDeveloperMode(this.mode.trialMode, this.mode.isBeta, this.mode.buildVersion); }, diff --git a/apps/pdfeditor/main/app/controller/LeftMenu.js b/apps/pdfeditor/main/app/controller/LeftMenu.js index c6b615fa8f..c8b6dd7954 100644 --- a/apps/pdfeditor/main/app/controller/LeftMenu.js +++ b/apps/pdfeditor/main/app/controller/LeftMenu.js @@ -211,11 +211,6 @@ define([ }, enablePlugins: function() { - if (this.mode.canPlugins) { - // this.leftMenu.btnPlugins.show(); - this.leftMenu.setOptionsPanel('plugins', this.getApplication().getController('Common.Controllers.Plugins').getView('Common.Views.Plugins')); - } else - this.leftMenu.btnPlugins.hide(); (this.mode.trialMode || this.mode.isBeta) && this.leftMenu.setDeveloperMode(this.mode.trialMode, this.mode.isBeta, this.mode.buildVersion); }, diff --git a/apps/presentationeditor/main/app/controller/LeftMenu.js b/apps/presentationeditor/main/app/controller/LeftMenu.js index 1be43fb805..f4c97e603e 100644 --- a/apps/presentationeditor/main/app/controller/LeftMenu.js +++ b/apps/presentationeditor/main/app/controller/LeftMenu.js @@ -213,11 +213,6 @@ define([ }, enablePlugins: function() { - if (this.mode.canPlugins) { - // this.leftMenu.btnPlugins.show(); - this.leftMenu.setOptionsPanel('plugins', this.getApplication().getController('Common.Controllers.Plugins').getView('Common.Views.Plugins')); - } else - this.leftMenu.btnPlugins.hide(); (this.mode.trialMode || this.mode.isBeta) && this.leftMenu.setDeveloperMode(this.mode.trialMode, this.mode.isBeta, this.mode.buildVersion); }, diff --git a/apps/spreadsheeteditor/main/app/controller/LeftMenu.js b/apps/spreadsheeteditor/main/app/controller/LeftMenu.js index 6173131bfa..0b0dd69718 100644 --- a/apps/spreadsheeteditor/main/app/controller/LeftMenu.js +++ b/apps/spreadsheeteditor/main/app/controller/LeftMenu.js @@ -251,11 +251,6 @@ define([ }, enablePlugins: function() { - if (this.mode.canPlugins) { - // this.leftMenu.btnPlugins.show(); - this.leftMenu.setOptionsPanel('plugins', this.getApplication().getController('Common.Controllers.Plugins').getView('Common.Views.Plugins')); - } else - this.leftMenu.btnPlugins.hide(); (this.mode.trialMode || this.mode.isBeta) && this.leftMenu.setDeveloperMode(this.mode.trialMode, this.mode.isBeta, this.mode.buildVersion); },