diff options
author | wei <> | 2007-01-06 03:36:40 +0000 |
---|---|---|
committer | wei <> | 2007-01-06 03:36:40 +0000 |
commit | b8779f4a6a581cb378368eac398a262047397472 (patch) | |
tree | ec9949b1f2ebe9a1f9972e595b4d6a4b925103b9 /framework/Web/Javascripts/prado/ajax3.js | |
parent | bde6488e19b9852011a657fda8aa39680d9c4a62 (diff) |
Fixed #485.
Diffstat (limited to 'framework/Web/Javascripts/prado/ajax3.js')
-rw-r--r-- | framework/Web/Javascripts/prado/ajax3.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/prado/ajax3.js b/framework/Web/Javascripts/prado/ajax3.js index 4783800f..f6bb048f 100644 --- a/framework/Web/Javascripts/prado/ajax3.js +++ b/framework/Web/Javascripts/prado/ajax3.js @@ -446,7 +446,7 @@ Prado.CallbackRequest.prototype = /**
* Callback URL, same url as the current page.
*/
- this.url = window.location.href;
+ this.url = this.getCallbackUrl();
/**
* Current callback request.
@@ -471,6 +471,15 @@ Prado.CallbackRequest.prototype = },
/**
+ * Gets the url from the forms that contains the PRADO_PAGESTATE
+ * @return {String} callback url.
+ */
+ getCallbackUrl : function()
+ {
+ return $('PRADO_PAGESTATE').form.action;
+ },
+
+ /**
* Sets the request parameter
* @param {Object} parameter value
*/
|