[KSS-checkins] r53906 - in kukit/kukit.js/branch/1.4: kukit tests
gotcha at codespeak.net
gotcha at codespeak.net
Sun Apr 20 17:20:16 CEST 2008
Author: gotcha
Date: Sun Apr 20 17:20:15 2008
New Revision: 53906
Modified:
kukit/kukit.js/branch/1.4/kukit/dom.js
kukit/kukit.js/branch/1.4/tests/runner.html
Log:
merge 50491-HEAD of improve-demos branch
(insertions in tbody is not included : it is still broken in IE6)
Modified: kukit/kukit.js/branch/1.4/kukit/dom.js
==============================================================================
--- kukit/kukit.js/branch/1.4/kukit/dom.js (original)
+++ kukit/kukit.js/branch/1.4/kukit/dom.js Sun Apr 20 17:20:15 2008
@@ -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');
Modified: kukit/kukit.js/branch/1.4/tests/runner.html
==============================================================================
--- kukit/kukit.js/branch/1.4/tests/runner.html (original)
+++ kukit/kukit.js/branch/1.4/tests/runner.html Sun Apr 20 17:20:15 2008
@@ -118,17 +118,7 @@
KSS ECMAScript Unit Tests
</h1>
- <p style="display:none;"
- tal:define="kss_devel_mode nocall:context/@@kss_devel_mode | nothing;
- devel_mode python: kss_devel_mode and kss_devel_mode.ison()"
- tal:attributes="style string:display:block;;;">
- Kss is in <b>
- <span class="green" tal:condition="devel_mode">development</span>
- <span class="red" tal:condition="not: devel_mode">production</span>
- </b>
- mode.<br />
- <a href="" tal:attributes="href string:${context/@@absolute_url}/@@kss_devel_mode/ui">Control development mode</a>
- </p>
+ <p metal:use-macro="context/@@body_macros/kss_mode">header</p>
<p class="documentDescription">
This page is the entry to the ECMAScript Unit Tests.
More information about the Kukit-checkins
mailing list