mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 10:59:28 +08:00
Run first plugin from autostart plugins list.
This commit is contained in:
@ -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();
|
||||
|
||||
@ -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();
|
||||
|
||||
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user