Commit 13d5cf53 authored by Boris Kocherov's avatar Boris Kocherov

[erp5_only_office] disable plugins

parent 5be07c23
...@@ -862,7 +862,7 @@ define([ ...@@ -862,7 +862,7 @@ define([
if (me.plugins && me.plugins.pluginsData && me.plugins.pluginsData.length>0) if (me.plugins && me.plugins.pluginsData && me.plugins.pluginsData.length>0)
me.updatePlugins(me.plugins, false); me.updatePlugins(me.plugins, false);
else else
me.requestPlugins('../../../../plugins.json'); me.requestPlugins();
me.api.asc_registerCallback('asc_onPluginsInit', _.bind(me.updatePluginsList, me)); me.api.asc_registerCallback('asc_onPluginsInit', _.bind(me.updatePluginsList, me));
documentHolderController.setApi(me.api); documentHolderController.setApi(me.api);
......
...@@ -640,7 +640,7 @@ define([ ...@@ -640,7 +640,7 @@ define([
if (me.plugins && me.plugins.pluginsData && me.plugins.pluginsData.length>0) if (me.plugins && me.plugins.pluginsData && me.plugins.pluginsData.length>0)
me.updatePlugins(me.plugins, false); me.updatePlugins(me.plugins, false);
else else
me.requestPlugins('../../../../plugins.json'); me.requestPlugins();
me.api.asc_registerCallback('asc_onPluginsInit', _.bind(me.updatePluginsList, me)); me.api.asc_registerCallback('asc_onPluginsInit', _.bind(me.updatePluginsList, me));
documentHolderController.setApi(me.api); documentHolderController.setApi(me.api);
......
...@@ -621,7 +621,7 @@ define([ ...@@ -621,7 +621,7 @@ define([
if (me.plugins && me.plugins.pluginsData && me.plugins.pluginsData.length>0) if (me.plugins && me.plugins.pluginsData && me.plugins.pluginsData.length>0)
me.updatePlugins(me.plugins, false); me.updatePlugins(me.plugins, false);
else else
me.requestPlugins('../../../../plugins.json'); me.requestPlugins();
me.api.asc_registerCallback('asc_onPluginsInit', _.bind(me.updatePluginsList, me)); me.api.asc_registerCallback('asc_onPluginsInit', _.bind(me.updatePluginsList, me));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment