In my project,they use below jquery code, which calls ajaxLoader.gif for every ajax call
$().ready(function() {
$(document).ajaxStart(function() {
$.blockUI({ css: { border: '0px none #aaa', backgroundColor:'transparent'}, message: '<img src="../common/images/ajaxLoader.gif" alt="Loading" />', overlayCSS: { backgroundColor: '#08275d', opacity: 0.6 }});
}
).ajaxStop($.unblockUI);
});
I need to prevent this at only one place. The user doesn't want this ajaxLoader.gif to appear at one place where the ajax call is getting fired.
Do i need to add any code snippet before the ajax call and can i suppress this ajaxstart function there ??