Module: deluge
Branch: master
Commit: 545e4ef717fa60c037cc01ff12207a6a6581c2bd

Author: Damien Churchill <[email protected]>
Date:   Tue Apr 27 23:26:31 2010 +0100

fix the change event on the spinner group

---

 .../ui/web/js/ext-extensions/form/SpinnerGroup.js  |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/deluge/ui/web/js/ext-extensions/form/SpinnerGroup.js 
b/deluge/ui/web/js/ext-extensions/form/SpinnerGroup.js
index 7703862..207ef69 100644
--- a/deluge/ui/web/js/ext-extensions/form/SpinnerGroup.js
+++ b/deluge/ui/web/js/ext-extensions/form/SpinnerGroup.js
@@ -153,7 +153,7 @@ Ext.ux.form.SpinnerGroup = 
Ext.extend(Ext.form.CheckboxGroup, {
             this.items.addAll(fields);
 
             this.items.each(function(field) {
-                field.on('change', this.onFieldChange, this);
+                field.on('spin', this.onFieldChange, this);
             }, this);
 
                        if (this.lazyValueSet) {
@@ -172,7 +172,7 @@ Ext.ux.form.SpinnerGroup = 
Ext.extend(Ext.form.CheckboxGroup, {
         Ext.ux.form.SpinnerGroup.superclass.onRender.call(this, ct, position);
     },
 
-    onFieldChange: function(spinner, value) {
+    onFieldChange: function(spinner) {
         this.fireEvent('change', this, this.getValue());
     },
 

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