if call back is false, make sure we reset output busy flag so it can be called again

This commit is contained in:
Justin F. Hallett 2017-07-05 10:48:43 -06:00
parent 420e4221e3
commit 428cf7438c

View File

@ -220,6 +220,7 @@
if ($.isFunction(wo.output_callback)) {
tmp = wo.output_callback(c, mydata, c.pager && c.pager.ajaxObject.url || null);
if ( tmp === false ) {
output.busy = false;
return;
} else if ( typeof tmp === 'string' ) {
mydata = tmp;