Run first plugin from autostart plugins list.

This commit is contained in:
Julia Radzhabova 2017-09-13 13:36:19 +03:00
parent cc0933be99
commit 2e36f36dbe
3 changed files with 3 additions and 0 deletions

View file

@ -1967,6 +1967,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

@ -1739,6 +1739,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

@ -1933,6 +1933,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();