Module: deluge
Branch: master
Commit: 91f44c2ad3e062acdcf79f54569108317a2ff6dc

Author: Damien Churchill <[email protected]>
Date:   Wed Apr 28 00:48:37 2010 +0100

fire the same args as the OptionsManager changed event

---

 deluge/ui/web/js/deluge-all/MultiOptionsManager.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/deluge/ui/web/js/deluge-all/MultiOptionsManager.js 
b/deluge/ui/web/js/deluge-all/MultiOptionsManager.js
index 79ff916..c7d099e 100644
--- a/deluge/ui/web/js/deluge-all/MultiOptionsManager.js
+++ b/deluge/ui/web/js/deluge-all/MultiOptionsManager.js
@@ -203,11 +203,11 @@ Deluge.MultiOptionsManager = 
Ext.extend(Deluge.OptionsManager, {
 
                        if (defaultValue == value) {
                                if (this.isDirty(option)) delete 
this.changed[this.currentId][option];
-                               this.fireEvent('changed', this.currentId, 
option, value, oldValue);
+                               this.fireEvent('changed', option, value, 
oldValue);
                                return;
                        } else {
                                this.changed[this.currentId][option] = value;
-                               this.fireEvent('changed', this.currentId, 
option, value, oldValue);
+                               this.fireEvent('changed', option, value, 
oldValue);
                        }
                }
        }

-- 
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