From 468060a24d51deede9025ab865fed15d5e11f757 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Wed, 11 May 2016 09:29:57 +0200 Subject: Serialize all inputs to catch nuts outside
--- framework/Web/Javascripts/source/prado/activecontrols/ajax3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/Javascripts') 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) -- cgit v1.2.3