Author: gotcha
Date: Sun Mar 16 12:35:15 2008
New Revision: 52584
Modified:
kukit/kukit.js/trunk/kukit/forms.js
Log:
disabled input values should not be submitted with the form
Modified: kukit/kukit.js/trunk/kukit/forms.js
==============================================================================
--- kukit/kukit.js/trunk/kukit/forms.js (original)
+++ kukit/kukit.js/trunk/kukit/forms.js Sun Mar 16 12:35:15 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