Permalink
Browse files

Issue 154 - Query.load() ignores the callback

  • Loading branch information...
ilinsky committed Oct 20, 2012
1 parent 9f44d61 commit 2656ec961e7993ac32439f63d4c1f020c962f18a
Showing with 4 additions and 0 deletions.
  1. +4 −0 ample/runtime/classes/misc/NodeLoader.js
@@ -73,6 +73,10 @@ function fNodeLoader_load(oElement, sUrl, vData, fCallback) {
oEvent.initEvent("error", false, false);
fNode_dispatchEvent(oElement, oEvent);
};
if (fCallback)
oSettings.complete = function(oRequest, sStatus) {
fCallback(oRequest.responseText, sStatus, oRequest);
};
// Save in order to be able to cancel
oElement._request = fQuery_ajax(oSettings);

0 comments on commit 2656ec9

Please sign in to comment.