Run first plugin from autostart plugins list.

This commit is contained in:
Julia Radzhabova 2017-09-13 13:36:19 +03:00
parent 7fb874128c
commit 6e4ec9e92d
3 changed files with 3 additions and 0 deletions

View file

@ -1970,6 +1970,7 @@ define([
this.api.asc_pluginRun(plugins.autoStartGuid, 0, '');
} else if (plugins.autostart && plugins.autostart.length>0) {
// run array of plugins
this.api.asc_pluginRun(plugins.autostart[0], 0, '');
}
}
if (!uiCustomize) this.getApplication().getController('LeftMenu').enablePlugins();

View file

@ -1745,6 +1745,7 @@ define([
this.api.asc_pluginRun(plugins.autoStartGuid, 0, '');
} else if (plugins.autostart && plugins.autostart.length>0) {
// run array of plugins
this.api.asc_pluginRun(plugins.autostart[0], 0, '');
}
}
if (!uiCustomize) this.getApplication().getController('LeftMenu').enablePlugins();

View file

@ -1924,6 +1924,7 @@ define([
this.api.asc_pluginRun(plugins.autoStartGuid, 0, '');
} else if (plugins.autostart && plugins.autostart.length>0) {
// run array of plugins
this.api.asc_pluginRun(plugins.autostart[0], 0, '');
}
}
if (!uiCustomize) this.getApplication().getController('LeftMenu').enablePlugins();