summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/Javascripts')
-rw-r--r--framework/Web/Javascripts/source/prado/activecontrols/ajax3.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js b/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
index c42597f1..7ca7e181 100644
--- a/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
+++ b/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
@@ -873,7 +873,7 @@ jQuery(function()
* @param mixed parameter to pass to callback handler on the server side.
* @param function client side onSuccess event handler.
* @param object additional request options.
- * @return boolean always false.
+ * @return Prado.CallbackRequest request that was created
*/
Prado.Callback = function(UniqueID, parameter, onSuccess, options)
{
@@ -888,14 +888,14 @@ Prado.Callback = function(UniqueID, parameter, onSuccess, options)
var request = new Prado.CallbackRequest(UniqueID, callback);
request.dispatch();
- return false;
+ return request;
};
/**
* Create a new callback request initiated by jQuery-UI elements.
* @param event object as sent by jQuery-UI events
* @param ui object as sent by jQuery-UI events
- * @return boolean always false.
+ * @return Prado.CallbackRequest request that was created
*/
Prado.JuiCallback = function(UniqueID, eventType, event, ui, target)
{
@@ -926,7 +926,7 @@ Prado.JuiCallback = function(UniqueID, eventType, event, ui, target)
var request = new Prado.CallbackRequest(UniqueID, callback);
request.dispatch();
- return false;
+ return request;
};
/**