Fix typo in label plugin - thanks konti

This commit is contained in:
John Garland 2010-06-11 00:42:29 +10:00
parent f2944bdeef
commit 3ed8279219
2 changed files with 4 additions and 1 deletions

View File

@ -9,6 +9,9 @@
==== Execute ==== ==== Execute ====
* #1306: Fix always executing last event * #1306: Fix always executing last event
==== Label ====
* Fix being able to remove labels in web ui
=== Deluge 1.3.0-rc1 (08 May 2010) === === Deluge 1.3.0-rc1 (08 May 2010) ===
==== Core ==== ==== Core ====
* Implement #1063 option to delete torrent file copy on torrent removal - patch from Ghent * Implement #1063 option to delete torrent file copy on torrent removal - patch from Ghent

View File

@ -497,7 +497,7 @@ Deluge.plugins.LabelPlugin = Ext.extend(Deluge.Plugin, {
}, },
onLabelRemoveClick: function() { onLabelRemoveClick: function() {
var state = this.filter.getFilter(); var state = this.filter.getState();
deluge.client.label.remove(state, { deluge.client.label.remove(state, {
success: function() { success: function() {
deluge.ui.update(); deluge.ui.update();