Author: damoxc
Revision: 5567
Log:
use item.el.getValue() to compare the value when picking the radio in
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:22:19 UTC
(rev 5566)
+++ trunk/deluge/ui/web/js/ext-extensions-debug.js 2009-07-29 08:55:24 UTC
(rev 5567)
@@ -777,7 +777,8 @@
setValue: function(v) {
if (!this.items.each) return;
this.items.each(function(item) {
- item.setValue((item.originalValue == v));
+ var checked = (item.el.getValue() == String(v));
+ item.setValue(checked);
});
}
-});
+});
\ No newline at end of file
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---