var AJAX_LOADER = '<span class="ajax_loader"></span>';

$(document).bind('ajaxComplete', function () {
    $('.ajax_loader').remove();
});

var AJAX_LOADER = '<span class="ajax_loader"></span>';

$(document).bind('ajaxComplete', function () {
    $('.ajax_loader').remove();

    $('form').removeData('submitted');
});

Mark forms as not submitted after AJAX complete.
Mark forms as not submitted after AJAX complete.
