Author: damoxc

Revision: 5566

Log:
        fix a bug in setValue for the RadioGroup

Diff:
Modified: trunk/deluge/ui/web/js/ext-extensions-debug.js
===================================================================
--- trunk/deluge/ui/web/js/ext-extensions-debug.js      2009-07-29 08:19:45 UTC 
(rev 5565)
+++ trunk/deluge/ui/web/js/ext-extensions-debug.js      2009-07-29 08:22:19 UTC 
(rev 5566)
@@ -777,7 +777,7 @@
        setValue: function(v) {
                if (!this.items.each) return;
                this.items.each(function(item) {
-                       item.setValue((item.getRawValue() === 'true') == v);
+                       item.setValue((item.originalValue == v));
                });
        }
 });



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