dont enable plugins twice
This commit is contained in:
parent
698a5ff475
commit
269e0b89b6
|
@ -172,6 +172,7 @@ deluge.ui = {
|
||||||
|
|
||||||
onGotPlugins: function(plugins) {
|
onGotPlugins: function(plugins) {
|
||||||
Ext.each(plugins.enabled_plugins, function(plugin) {
|
Ext.each(plugins.enabled_plugins, function(plugin) {
|
||||||
|
if (deluge.plugins[plugin]) return;
|
||||||
deluge.client.web.get_plugin_resources(plugin, {
|
deluge.client.web.get_plugin_resources(plugin, {
|
||||||
success: this.onGotPluginResources,
|
success: this.onGotPluginResources,
|
||||||
scope: this
|
scope: this
|
||||||
|
|
Loading…
Reference in New Issue