apply patch from #1562
This commit is contained in:
parent
0d665d772d
commit
871d9ac4b0
|
@ -252,6 +252,7 @@ Deluge.preferences.Plugins = Ext.extend(Ext.Panel, {
|
||||||
},
|
},
|
||||||
|
|
||||||
onPluginSelect: function(dv, selections) {
|
onPluginSelect: function(dv, selections) {
|
||||||
|
if (selections.length == 0) return;
|
||||||
var r = dv.getRecords(selections)[0];
|
var r = dv.getRecords(selections)[0];
|
||||||
deluge.client.web.get_plugin_info(r.get('plugin'), {
|
deluge.client.web.get_plugin_info(r.get('plugin'), {
|
||||||
success: this.onGotPluginInfo,
|
success: this.onGotPluginInfo,
|
||||||
|
|
Loading…
Reference in New Issue