Author: gotcha
Date: Sun Mar 16 12:45:33 2008
New Revision: 52587

Modified:
   kukit/kukit.js/branch/1.4/kukit/forms.js
Log:
disabled input values should not be submitted with the form


Modified: kukit/kukit.js/branch/1.4/kukit/forms.js
==============================================================================
--- kukit/kukit.js/branch/1.4/kukit/forms.js    (original)
+++ kukit/kukit.js/branch/1.4/kukit/forms.js    Sun Mar 16 12:45:33 2008
@@ -186,6 +186,9 @@
     // First: update the field in case an editor is lurking
     // in the background
     this.fieldUpdateRegistry.doUpdate(element);
+    if (element.disabled) {
+        return null;
+    }
     // Collect the data
     if (element.selectedIndex != undefined) {
         // handle single selects first
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins

Reply via email to