mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 20:55:28 +00:00
Clear processing label + remove table content
This commit is contained in:
@@ -76,16 +76,11 @@ function handleAjaxError( xhr, textStatus, error ) {
|
||||
else {
|
||||
alert( "An error occured while loading the data. Presumably your log is too large to be processed." );
|
||||
}
|
||||
tableApi.fnProcessingIndicator( false );
|
||||
$("#all-queries_processing").hide();
|
||||
tableApi.clear()
|
||||
tableApi.draw();
|
||||
}
|
||||
|
||||
jQuery.fn.dataTableExt.oApi.fnProcessingIndicator = function ( oSettings, onoff ) {
|
||||
if ( typeof( onoff ) == "undefined" ) {
|
||||
onoff = true;
|
||||
}
|
||||
this.oApi._fnProcessingDisplay( oSettings, onoff );
|
||||
};
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
// Do we want to filter queries?
|
||||
|
||||
Reference in New Issue
Block a user