When creating and executing a ajax request queue with $.manageAjax
, I call ajaxManager.abort();
, to abort the entire queue due to error, at which time I get an error stating: q[num] has no properties (jquery.ajaxmanager.js line 75)
Here is the calling code:
var ajaxManager = $.manageAjax({manageType:'sync', maxReq:0});
// setup code calling ajaxManager.add(...)
// in success callback of first request
ajaxManager.abort(); <-- causes error in jquery.ajaxManager.js
There are 4 requests in the queue, this is being called in the success of the first request, if certain criteria is met, the queue needs to be aborted.
Any ideas?