summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/prado/ajax3.js
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/Javascripts/prado/ajax3.js')
-rw-r--r--framework/Web/Javascripts/prado/ajax3.js29
1 files changed, 10 insertions, 19 deletions
diff --git a/framework/Web/Javascripts/prado/ajax3.js b/framework/Web/Javascripts/prado/ajax3.js
index f540813c..e176aa8a 100644
--- a/framework/Web/Javascripts/prado/ajax3.js
+++ b/framework/Web/Javascripts/prado/ajax3.js
@@ -399,33 +399,24 @@ Event.OnLoad(function()
*/
Prado.CallbackRequest.prototype =
{
- /**
- * Callback URL, same url as the current page.
- */
- url : window.location.href,
/**
- * Callback options, including onXXX events.
+ * Prepare and inititate a callback request.
*/
- options : { },
-
+ initialize : function(id, options)
+ {
/**
- * Callback target ID. E.g. $control->getUniqueID();
+ * Callback URL, same url as the current page.
*/
- id : null,
+ this.url = window.location.href;
- /**
- * Current callback request.
- */
- request : null,
+ /**
+ * Current callback request.
+ */
+ this.request = null;
- Enabled : true,
+ this.Enabled = true;
- /**
- * Prepare and inititate a callback request.
- */
- initialize : function(id, options)
- {
this.id = id;
this.options = Object.extend(
{