diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2016-05-11 09:29:57 +0200 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2016-05-11 09:29:57 +0200 |
commit | 468060a24d51deede9025ab865fed15d5e11f757 (patch) | |
tree | 52e62e47688d8c8d748563f383bc4a7de951ce21 /framework/Web | |
parent | 96f9d146247a17e2b79051ea4a38a6f59f58cd8a (diff) |
Serialize all inputs to catch nuts outside <form>
Diffstat (limited to 'framework/Web')
-rw-r--r-- | framework/Web/Javascripts/source/prado/activecontrols/ajax3.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js b/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js index 1115c3b2..48481ab0 100644 --- a/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js +++ b/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js @@ -298,7 +298,7 @@ Prado.CallbackRequest = jQuery.klass(Prado.PostBack, if(this.options.PostInputs != false) { var form = this.getForm(); - return jQuery(form).serialize() + '&' + jQuery.param(data); + return jQuery('input, select, textarea').serialize() + '&' + jQuery.param(data); } else { var pagestate = jQuery("#"+Prado.CallbackRequestManager.FIELD_CALLBACK_PAGESTATE); if(pagestate) |