diff --git a/deluge/ui/web/js/deluge-all/preferences/PluginsPage.js b/deluge/ui/web/js/deluge-all/preferences/PluginsPage.js
index a9b4d7d..d963d1f 100644
a
|
b
|
Deluge.preferences.Plugins = Ext.extend(Ext.Panel, {
|
232 | 232 | }, |
233 | 233 | |
234 | 234 | onPluginEnabled: function(pluginName) { |
235 | | var index = this.grid.getStore().find('plugin', pluginName); |
| 235 | var index = this.list.getStore().find('plugin', pluginName); |
236 | 236 | if (index == -1) return; |
237 | | var plugin = this.grid.getStore().getAt(index); |
| 237 | var plugin = this.list.getStore().getAt(index); |
238 | 238 | plugin.set('enabled', true); |
239 | 239 | plugin.commit(); |
240 | 240 | }, |