[KSS-checkins] r52587 - kukit/kukit.js/branch/1.4/kukit
gotcha at codespeak.net
gotcha at codespeak.net
Sun Mar 16 12:45:33 CET 2008
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
More information about the Kukit-checkins
mailing list