apply patch from #1562

This commit is contained in:
Damien Churchill 2011-05-06 19:14:26 +01:00
parent 0d665d772d
commit 871d9ac4b0
1 changed files with 7 additions and 6 deletions

View File

@ -252,6 +252,7 @@ Deluge.preferences.Plugins = Ext.extend(Ext.Panel, {
},
onPluginSelect: function(dv, selections) {
if (selections.length == 0) return;
var r = dv.getRecords(selections)[0];
deluge.client.web.get_plugin_info(r.get('plugin'), {
success: this.onGotPluginInfo,