Author: damoxc

Revision: 5473

Log:
        fix a bug in the radio group setValue when the buttons haven't been 
rendered yet

Diff:
Modified: trunk/deluge/ui/web/js/ext-extensions-debug.js
===================================================================
--- trunk/deluge/ui/web/js/ext-extensions-debug.js      2009-07-08 18:07:12 UTC 
(rev 5472)
+++ trunk/deluge/ui/web/js/ext-extensions-debug.js      2009-07-12 23:23:05 UTC 
(rev 5473)
@@ -775,6 +775,7 @@
        },
 
        setValue: function(v) {
+               if (!this.items.each) return;
                this.items.each(function(item) {
                        item.setValue((item.getRawValue() === 'true') == 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