summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-12-20 00:15:14 +0100
committeremkael <emkael@tlen.pl>2016-12-20 00:15:14 +0100
commita6904faaaba78a5d08d2ca83de39457f540ad541 (patch)
treef52186cbae0a098a67d7d3d0d55fb57d9f26ae36 /lib
parent129cadc66f583ea2133ad8b933479ef4d57631d6 (diff)
* bumping Prado version to current git HEAD
Diffstat (limited to 'lib')
-rw-r--r--lib/prado/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/prado/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js b/lib/prado/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
index 48481ab..33e53ca 100644
--- a/lib/prado/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
+++ b/lib/prado/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);
},