diff options
author | wei <> | 2006-09-10 01:03:56 +0000 |
---|---|---|
committer | wei <> | 2006-09-10 01:03:56 +0000 |
commit | f1f33db1f85c0893205a4a00c203d884dc1af1a5 (patch) | |
tree | de0fd5a1b52572708209c98370c9061a19ec5193 /framework/Web/Javascripts/js/debug/ajax.js | |
parent | fa760c403236b6fe7fdfd5785e2cd34764c24755 (diff) |
Changed TCallbackEventParameter::Parameter to TCallbackEventParameter::CallbackParameter
Add TActiveButton and TActiveCheckBox quickstart docs.
Diffstat (limited to 'framework/Web/Javascripts/js/debug/ajax.js')
-rw-r--r-- | framework/Web/Javascripts/js/debug/ajax.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/framework/Web/Javascripts/js/debug/ajax.js b/framework/Web/Javascripts/js/debug/ajax.js index 7d99cb57..9835e7e8 100644 --- a/framework/Web/Javascripts/js/debug/ajax.js +++ b/framework/Web/Javascripts/js/debug/ajax.js @@ -670,7 +670,7 @@ Prado.CallbackRequest.prototype = * Sets the request parameter
* @param {Object} parameter value
*/
- setParameter : function(value)
+ setCallbackParameter : function(value)
{
this.options['params'] = value;
},
@@ -678,7 +678,7 @@ Prado.CallbackRequest.prototype = /**
* @return {Object} request paramater value.
*/
- getParameter : function()
+ getCallbackParameter : function()
{
return this.options['params'];
},
@@ -2026,7 +2026,8 @@ Prado.WebUI.TActiveCheckBox = Class.extend(Prado.WebUI.CallbackControl, onPostBack : function(event, options)
{
request = new Prado.CallbackRequest(options.EventTarget, options);
- request.dispatch();
+ if(request.dispatch()==false)
+ Event.stop(event);
}
});
@@ -2316,7 +2317,7 @@ Prado.WebUI.TValueTriggeredCallback = Base.extend( {
request = new Prado.CallbackRequest(this.options.EventTarget, this.options);
param = {'OldValue' : oldValue, 'NewValue' : newValue};
- request.setParameter(param);
+ request.setCallbackParameter(param);
request.dispatch();
}
},
|