summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/source
diff options
context:
space:
mode:
authorDavid <ottodavid@gmx.net>2015-02-18 18:12:16 +0100
committerDavid <ottodavid@gmx.net>2015-02-18 18:12:16 +0100
commitcf984085056c41c86c5b9fe2144c2e7a73eb807d (patch)
tree7d79acaebcd3962a41a67ccd3315904bdc9648ae /framework/Web/Javascripts/source
parent348a4558c1adb96b961a08d8bce0d196125ccbac (diff)
Fix #545
Return the created CallbackRequest on Prado.Callback and Prado.JuiCallback
Diffstat (limited to 'framework/Web/Javascripts/source')
-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;
};
/**