Author: reebalazs
Date: Sat Jan 3 01:37:09 2009
New Revision: 60766
Modified:
kukit/kukit.js/trunk/kukit/dom.js
Log:
Value attribute fix: probably forgot to port this up from 3.1
Modified: kukit/kukit.js/trunk/kukit/dom.js
==============================================================================
--- kukit/kukit.js/trunk/kukit/dom.js (original)
+++ kukit/kukit.js/trunk/kukit/dom.js Sat Jan 3 01:37:09 2009
@@ -222,6 +222,8 @@
// On IE, workaround is needed. Since I am not sure, I use both
methods.
node.htmlFor = value;
node.setAttribute(attrname, value);
+ } else if (attrname.toLowerCase() == 'value') {
+ node.value = value;
} else if (attrname.toLowerCase() == 'checked') {
// we need to convert this to boolean.
value = ! (value == '' || value == 'false' || value == 'False');
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins