diff options
author | wei <> | 2006-12-10 23:55:49 +0000 |
---|---|---|
committer | wei <> | 2006-12-10 23:55:49 +0000 |
commit | 840854be7886236d46d3408de5a084983373b4c7 (patch) | |
tree | 8a8c22463bc3ac7f556633e790818d724bc52ed0 /framework/Web/Javascripts/prado/ajax3.js | |
parent | 3c03a42d1edb0ec26110ace00f42e156cabff67b (diff) |
Fixed #470
Diffstat (limited to 'framework/Web/Javascripts/prado/ajax3.js')
-rw-r--r-- | framework/Web/Javascripts/prado/ajax3.js | 29 |
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(
{
|