Fixed bug in Blocklist WebUI pref page

This commit is contained in:
omaralvarez 2014-08-17 17:44:01 +02:00 committed by Calum Lind
parent 83c0f8a16e
commit 42b3edff64
1 changed files with 2 additions and 2 deletions

View File

@ -267,8 +267,7 @@ Deluge.ux.preferences.BlocklistPage = Ext.extend(Ext.Panel, {
for (var i = 0; i < store.getCount(); i++) {
var record = store.getAt(i);
var ip = record.get('ip');
console.log(ip);
ipList.push(name);
ipList.push(ip);
}
config['whitelisted'] = ipList;
@ -404,4 +403,5 @@ Deluge.plugins.BlocklistPlugin = Ext.extend(Deluge.Plugin, {
this.prefsPage = deluge.preferences.addPage(new Deluge.ux.preferences.BlocklistPage());
}
});
Deluge.registerPlugin('Blocklist', Deluge.plugins.BlocklistPlugin);