Ticket #1562: plugins_selection_fix.patch

File plugins_selection_fix.patch, 611 bytes (added by wump, 14 years ago)

Fix patch

  • deluge/ui/web/js/deluge-all/preferences/PluginsPage.js

    diff --git a/deluge/ui/web/js/deluge-all/preferences/PluginsPage.js b/deluge/ui/web/js/deluge-all/preferences/PluginsPage.js
    index 1d54a83..f8f38c4 100644
    a b Deluge.preferences.Plugins = Ext.extend(Ext.Panel, {  
    254254        },
    255255
    256256        onPluginSelect: function(dv, selections) {
     257                if(selections.length == 0)
     258                        return;
    257259                var r = dv.getRecords(selections)[0];
    258260                deluge.client.web.get_plugin_info(r.get('plugin'), {
    259261                        success: this.onGotPluginInfo,