roblynch16/jQuery-Ajax-Queue — Issue #1: sync mode miss original complete options
Author: elevenHuang
Created: 2012-02-24 06:49:45+00:00
State: open

//add the completion callback to the ajax so we run the next when done.
ajaxOptions.complete = function(){
ajaxQueueCount[queueName]--;
$('#alx_connection').trigger('ajaxdown');
$document.dequeue( queueName );
};
to

//add the completion callback to the ajax so we run the next when done.
var original_complete = ajaxOptions.complete;
ajaxOptions.complete = function(){
ajaxQueueCount[queueName]--;
$('#alx_connection').trigger('ajaxdown');
$document.dequeue( queueName );

if (original_complete) {
original_complete();
};
};