From df4308513ac130d0fab3c0805ccbfa12e78445fe Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 12 Jul 2019 12:08:45 +0300 Subject: [PATCH] Refactoring plugins --- apps/common/mobile/lib/controller/Plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/mobile/lib/controller/Plugins.js b/apps/common/mobile/lib/controller/Plugins.js index ebdac7b5d..eb08aa1c5 100644 --- a/apps/common/mobile/lib/controller/Plugins.js +++ b/apps/common/mobile/lib/controller/Plugins.js @@ -74,7 +74,6 @@ define([ this.api.asc_registerCallback("asc_onPluginClose", _.bind(this.pluginClose, this)); this.api.asc_registerCallback("asc_onPluginResize", _.bind(this.pluginResize, this)); this.api.asc_registerCallback('asc_onPluginsInit', _.bind(this.registerPlugins, this)); - this.loadPlugins(); }, onLaunch: function () { @@ -180,6 +179,7 @@ define([ loadConfig: function(data) { this.configPlugins.config = data.config.plugins; + this.loadPlugins(); }, loadPlugins: function() {