Module: deluge
Branch: master
Commit: 269e0b89b6081b975fd59bec48d9c2d6d2b8d4c7

Author: Damien Churchill <[email protected]>
Date:   Wed Apr 28 15:10:58 2010 +0100

dont enable plugins twice

---

 deluge/ui/web/js/deluge-all/UI.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/deluge/ui/web/js/deluge-all/UI.js 
b/deluge/ui/web/js/deluge-all/UI.js
index af5c3f7..15f7881 100644
--- a/deluge/ui/web/js/deluge-all/UI.js
+++ b/deluge/ui/web/js/deluge-all/UI.js
@@ -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

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to