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 2469c949aa
commit 4d9450a980
No known key found for this signature in database
GPG key ID: 935D2952DEC4EECF
13 changed files with 16 additions and 16 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -445,7 +445,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
url: getSearchURL(false),
dataSrc: handleResponseData,
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
let txt = "";
if ($xhr) {
let json = $xhr.responseJSON;
@ -644,7 +644,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
url: getSearchURL(false),
dataSrc: handleResponseData,
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
let txt = "";
if ($xhr) {
let json = $xhr.responseJSON;
@ -824,7 +824,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
url: getSearchURL(false),
dataSrc: handleResponseData,
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
let txt = "";
if ($xhr) {
let json = $xhr.responseJSON;

View file

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

View file

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

View file

@ -262,7 +262,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
url: getSearchURL(),
dataSrc: handleResponseData,
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
$('#loader').addClass("d-none");
let txt = "";
if ($xhr) {

View file

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

View file

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

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) {

View file

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