~ubuntu-branches/ubuntu/oneiric/deluge/oneiric

« back to all changes in this revision

Viewing changes to deluge/ui/web/js/deluge-all/preferences/PluginsPage.js

  • Committer: Bazaar Package Importer
  • Author(s): Cristian Greco
  • Date: 2010-11-03 16:44:32 UTC
  • mfrom: (4.1.18 sid)
  • Revision ID: james.westby@ubuntu.com-20101103164432-ejbihi77cdintt6m
Tags: 1.3.1-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
        },