WebUIs: fix datatables processing class name

was changed to dt-processing in datatables 2.0

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2024-05-23 19:47:45 +02:00
parent 0127fc188b
commit 9ba92d9495
13 changed files with 16 additions and 16 deletions

View File

@@ -340,7 +340,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
url: dirsURL,
dataSrc: "",
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
let txt = "";
if ($xhr) {
let json = $xhr.responseJSON;
@@ -562,7 +562,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
url: "{{.DirsURL}}?path={{.CurrentDir}}",
dataSrc: "",
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
$('#loader').addClass("d-none");
let txt = "";
if ($xhr) {