mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 12:18:47 +08:00
Merge pull request #2974 from ONLYOFFICE/fix/fix-bugs
[DE PE SSE PDF] Fix plugins
This commit is contained in:
@ -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);
|
||||
},
|
||||
|
||||
|
||||
@ -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);
|
||||
},
|
||||
|
||||
|
||||
@ -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);
|
||||
},
|
||||
|
||||
|
||||
@ -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);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user