From 28ce7a70a00ed6b8dd0d7612810d75cc6c64bc71 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Sun, 24 Oct 2010 13:30:39 +0100 Subject: [PATCH] apply patch from #1377 --- deluge/ui/web/js/deluge-all/preferences/PluginsPage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/ui/web/js/deluge-all/preferences/PluginsPage.js b/deluge/ui/web/js/deluge-all/preferences/PluginsPage.js index a9b4d7df0..d963d1fde 100644 --- a/deluge/ui/web/js/deluge-all/preferences/PluginsPage.js +++ b/deluge/ui/web/js/deluge-all/preferences/PluginsPage.js @@ -232,9 +232,9 @@ Deluge.preferences.Plugins = Ext.extend(Ext.Panel, { }, onPluginEnabled: function(pluginName) { - var index = this.grid.getStore().find('plugin', pluginName); + var index = this.list.getStore().find('plugin', pluginName); if (index == -1) return; - var plugin = this.grid.getStore().getAt(index); + var plugin = this.list.getStore().getAt(index); plugin.set('enabled', true); plugin.commit(); },