dont enable plugins twice

This commit is contained in:
Damien Churchill 2010-04-28 15:10:58 +01:00
parent 698a5ff475
commit 269e0b89b6
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ deluge.ui = {
onGotPlugins: function(plugins) {
Ext.each(plugins.enabled_plugins, function(plugin) {
if (deluge.plugins[plugin]) return;
deluge.client.web.get_plugin_resources(plugin, {
success: this.onGotPluginResources,
scope: this