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:
parent
0127fc188b
commit
9ba92d9495
13 changed files with 16 additions and 16 deletions
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue