Module: deluge
Branch: 1.3-stable
Commit: 3ed8279219c62baf1e964617a04db9247b0c66cc

Author: John Garland <[email protected]>
Date:   Fri Jun 11 00:42:29 2010 +1000

Fix typo in label plugin - thanks konti

---

 ChangeLog                                |    3 +++
 deluge/plugins/label/label/data/label.js |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7718033..a3c8319 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,9 @@
 ==== Execute ====
        * #1306: Fix always executing last event
 
+==== Label ====
+       * Fix being able to remove labels in web ui
+
 === Deluge 1.3.0-rc1 (08 May 2010) ===
 ==== Core ====
        * Implement #1063 option to delete torrent file copy on torrent removal 
- patch from Ghent
diff --git a/deluge/plugins/label/label/data/label.js 
b/deluge/plugins/label/label/data/label.js
index f68cd83..57d0dda 100644
--- a/deluge/plugins/label/label/data/label.js
+++ b/deluge/plugins/label/label/data/label.js
@@ -497,7 +497,7 @@ Deluge.plugins.LabelPlugin = Ext.extend(Deluge.Plugin, {
        },
 
        onLabelRemoveClick: function() {
-               var state = this.filter.getFilter();
+               var state = this.filter.getState();
                deluge.client.label.remove(state, {
                        success: function() {
                                deluge.ui.update();

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to