Author: gotcha
Date: Sun Mar 16 13:06:52 2008
New Revision: 52593

Modified:
   kukit/kukit.js/branch/1.2/kukit/forms.js
Log:
backport fix:

disabled input values should not be submitted with the form


Modified: kukit/kukit.js/branch/1.2/kukit/forms.js
==============================================================================
--- kukit/kukit.js/branch/1.2/kukit/forms.js    (original)
+++ kukit/kukit.js/branch/1.2/kukit/forms.js    Sun Mar 16 13:06:52 2008
@@ -169,6 +169,9 @@
     // First: update the field in case an editor is lurking
     // in the background
     kukit.fo.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