summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLCSKJ <kj.landwehr.software@gmail.com>2016-12-16 08:39:04 +0100
committerLCSKJ <kj.landwehr.software@gmail.com>2016-12-16 08:39:04 +0100
commitb7af81993d8c911726614b0d09ba1d45369030e6 (patch)
treec256e44f2bea7e4ed04856bade01d77c75e0b5c7
parentf5b91473afb9ebeb2148594d1b1d1eae200f438b (diff)
Fix #619.
-rw-r--r--framework/Web/Javascripts/source/prado/activecontrols/ajax3.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js b/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
index 48481ab0..33e53cab 100644
--- a/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
+++ b/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
@@ -259,6 +259,11 @@ Prado.CallbackRequest = jQuery.klass(Prado.PostBack,
if(this.options.onPreDispatch)
this.options.onPreDispatch(this,null);
+ // prepare callback paramters
+ this.options.data = this.getParameters();
+ this.options.url = this.getCallbackUrl();
+ this.options.timeout = this.getRequestTimeOut();
+
// jQuery don't have all these states.. simulate them to avoid breaking old scripts
if (this.options.onLoading)
this.options.onLoading(this,null);
@@ -267,11 +272,6 @@ Prado.CallbackRequest = jQuery.klass(Prado.PostBack,
if (this.options.onInteractive)
this.options.onInteractive(this,null);
- // go!
- this.options.data = this.getParameters();
- this.options.url = this.getCallbackUrl();
- this.options.timeout = this.getRequestTimeOut();
-
this.request = Prado.CallbackRequestManager.ajax(this.options);
},