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",
|
url: "{{.AdminsURL}}/json",
|
||||||
dataSrc: "",
|
dataSrc: "",
|
||||||
error: function ($xhr, textStatus, errorThrown) {
|
error: function ($xhr, textStatus, errorThrown) {
|
||||||
$(".dataTables_processing").hide();
|
$(".dt-processing").hide();
|
||||||
$('#loader').addClass("d-none");
|
$('#loader').addClass("d-none");
|
||||||
let txt = "";
|
let txt = "";
|
||||||
if ($xhr) {
|
if ($xhr) {
|
||||||
|
|
|
@ -126,7 +126,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||||
url: "{{.ConnectionsURL}}/json",
|
url: "{{.ConnectionsURL}}/json",
|
||||||
dataSrc: "",
|
dataSrc: "",
|
||||||
error: function ($xhr, textStatus, errorThrown) {
|
error: function ($xhr, textStatus, errorThrown) {
|
||||||
$(".dataTables_processing").hide();
|
$(".dt-processing").hide();
|
||||||
$('#loader').addClass("d-none");
|
$('#loader').addClass("d-none");
|
||||||
let txt = "";
|
let txt = "";
|
||||||
if ($xhr) {
|
if ($xhr) {
|
||||||
|
|
|
@ -131,7 +131,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||||
url: "{{.DefenderHostsURL}}",
|
url: "{{.DefenderHostsURL}}",
|
||||||
dataSrc: "",
|
dataSrc: "",
|
||||||
error: function ($xhr, textStatus, errorThrown) {
|
error: function ($xhr, textStatus, errorThrown) {
|
||||||
$(".dataTables_processing").hide();
|
$(".dt-processing").hide();
|
||||||
$('#loader').addClass("d-none");
|
$('#loader').addClass("d-none");
|
||||||
let txt = "";
|
let txt = "";
|
||||||
if ($xhr) {
|
if ($xhr) {
|
||||||
|
|
|
@ -131,7 +131,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||||
url: "{{.EventActionsURL}}/json",
|
url: "{{.EventActionsURL}}/json",
|
||||||
dataSrc: "",
|
dataSrc: "",
|
||||||
error: function ($xhr, textStatus, errorThrown) {
|
error: function ($xhr, textStatus, errorThrown) {
|
||||||
$(".dataTables_processing").hide();
|
$(".dt-processing").hide();
|
||||||
$('#loader').addClass("d-none");
|
$('#loader').addClass("d-none");
|
||||||
let txt = "";
|
let txt = "";
|
||||||
if ($xhr) {
|
if ($xhr) {
|
||||||
|
|
|
@ -182,7 +182,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||||
url: "{{.EventRulesURL}}/json",
|
url: "{{.EventRulesURL}}/json",
|
||||||
dataSrc: "",
|
dataSrc: "",
|
||||||
error: function ($xhr, textStatus, errorThrown) {
|
error: function ($xhr, textStatus, errorThrown) {
|
||||||
$(".dataTables_processing").hide();
|
$(".dt-processing").hide();
|
||||||
$('#loader').addClass("d-none");
|
$('#loader').addClass("d-none");
|
||||||
let txt = "";
|
let txt = "";
|
||||||
if ($xhr) {
|
if ($xhr) {
|
||||||
|
|
|
@ -445,7 +445,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||||
url: getSearchURL(false),
|
url: getSearchURL(false),
|
||||||
dataSrc: handleResponseData,
|
dataSrc: handleResponseData,
|
||||||
error: function ($xhr, textStatus, errorThrown) {
|
error: function ($xhr, textStatus, errorThrown) {
|
||||||
$(".dataTables_processing").hide();
|
$(".dt-processing").hide();
|
||||||
let txt = "";
|
let txt = "";
|
||||||
if ($xhr) {
|
if ($xhr) {
|
||||||
let json = $xhr.responseJSON;
|
let json = $xhr.responseJSON;
|
||||||
|
@ -644,7 +644,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||||
url: getSearchURL(false),
|
url: getSearchURL(false),
|
||||||
dataSrc: handleResponseData,
|
dataSrc: handleResponseData,
|
||||||
error: function ($xhr, textStatus, errorThrown) {
|
error: function ($xhr, textStatus, errorThrown) {
|
||||||
$(".dataTables_processing").hide();
|
$(".dt-processing").hide();
|
||||||
let txt = "";
|
let txt = "";
|
||||||
if ($xhr) {
|
if ($xhr) {
|
||||||
let json = $xhr.responseJSON;
|
let json = $xhr.responseJSON;
|
||||||
|
@ -824,7 +824,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||||
url: getSearchURL(false),
|
url: getSearchURL(false),
|
||||||
dataSrc: handleResponseData,
|
dataSrc: handleResponseData,
|
||||||
error: function ($xhr, textStatus, errorThrown) {
|
error: function ($xhr, textStatus, errorThrown) {
|
||||||
$(".dataTables_processing").hide();
|
$(".dt-processing").hide();
|
||||||
let txt = "";
|
let txt = "";
|
||||||
if ($xhr) {
|
if ($xhr) {
|
||||||
let json = $xhr.responseJSON;
|
let json = $xhr.responseJSON;
|
||||||
|
|
|
@ -163,7 +163,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||||
url: "{{.FoldersURL}}/json",
|
url: "{{.FoldersURL}}/json",
|
||||||
dataSrc: "",
|
dataSrc: "",
|
||||||
error: function ($xhr, textStatus, errorThrown) {
|
error: function ($xhr, textStatus, errorThrown) {
|
||||||
$(".dataTables_processing").hide();
|
$(".dt-processing").hide();
|
||||||
$('#loader').addClass("d-none");
|
$('#loader').addClass("d-none");
|
||||||
let txt = "";
|
let txt = "";
|
||||||
if ($xhr) {
|
if ($xhr) {
|
||||||
|
|
|
@ -149,7 +149,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||||
url: "{{.GroupsURL}}/json",
|
url: "{{.GroupsURL}}/json",
|
||||||
dataSrc: "",
|
dataSrc: "",
|
||||||
error: function ($xhr, textStatus, errorThrown) {
|
error: function ($xhr, textStatus, errorThrown) {
|
||||||
$(".dataTables_processing").hide();
|
$(".dt-processing").hide();
|
||||||
$('#loader').addClass("d-none");
|
$('#loader').addClass("d-none");
|
||||||
let txt = "";
|
let txt = "";
|
||||||
if ($xhr) {
|
if ($xhr) {
|
||||||
|
|
|
@ -262,7 +262,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||||
url: getSearchURL(),
|
url: getSearchURL(),
|
||||||
dataSrc: handleResponseData,
|
dataSrc: handleResponseData,
|
||||||
error: function ($xhr, textStatus, errorThrown) {
|
error: function ($xhr, textStatus, errorThrown) {
|
||||||
$(".dataTables_processing").hide();
|
$(".dt-processing").hide();
|
||||||
$('#loader').addClass("d-none");
|
$('#loader').addClass("d-none");
|
||||||
let txt = "";
|
let txt = "";
|
||||||
if ($xhr) {
|
if ($xhr) {
|
||||||
|
|
|
@ -150,7 +150,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||||
url: "{{.RolesURL}}/json",
|
url: "{{.RolesURL}}/json",
|
||||||
dataSrc: "",
|
dataSrc: "",
|
||||||
error: function ($xhr, textStatus, errorThrown) {
|
error: function ($xhr, textStatus, errorThrown) {
|
||||||
$(".dataTables_processing").hide();
|
$(".dt-processing").hide();
|
||||||
$('#loader').addClass("d-none");
|
$('#loader').addClass("d-none");
|
||||||
let txt = "";
|
let txt = "";
|
||||||
if ($xhr) {
|
if ($xhr) {
|
||||||
|
|
|
@ -278,7 +278,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||||
url: "{{.UsersURL}}/json",
|
url: "{{.UsersURL}}/json",
|
||||||
dataSrc: "",
|
dataSrc: "",
|
||||||
error: function ($xhr, textStatus, errorThrown) {
|
error: function ($xhr, textStatus, errorThrown) {
|
||||||
$(".dataTables_processing").hide();
|
$(".dt-processing").hide();
|
||||||
$('#loader').addClass("d-none");
|
$('#loader').addClass("d-none");
|
||||||
let txt = "";
|
let txt = "";
|
||||||
if ($xhr) {
|
if ($xhr) {
|
||||||
|
|
|
@ -340,7 +340,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||||
url: dirsURL,
|
url: dirsURL,
|
||||||
dataSrc: "",
|
dataSrc: "",
|
||||||
error: function ($xhr, textStatus, errorThrown) {
|
error: function ($xhr, textStatus, errorThrown) {
|
||||||
$(".dataTables_processing").hide();
|
$(".dt-processing").hide();
|
||||||
let txt = "";
|
let txt = "";
|
||||||
if ($xhr) {
|
if ($xhr) {
|
||||||
let json = $xhr.responseJSON;
|
let json = $xhr.responseJSON;
|
||||||
|
@ -562,7 +562,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||||
url: "{{.DirsURL}}?path={{.CurrentDir}}",
|
url: "{{.DirsURL}}?path={{.CurrentDir}}",
|
||||||
dataSrc: "",
|
dataSrc: "",
|
||||||
error: function ($xhr, textStatus, errorThrown) {
|
error: function ($xhr, textStatus, errorThrown) {
|
||||||
$(".dataTables_processing").hide();
|
$(".dt-processing").hide();
|
||||||
$('#loader').addClass("d-none");
|
$('#loader').addClass("d-none");
|
||||||
let txt = "";
|
let txt = "";
|
||||||
if ($xhr) {
|
if ($xhr) {
|
||||||
|
|
|
@ -264,7 +264,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||||
url: "{{.SharesURL}}/json",
|
url: "{{.SharesURL}}/json",
|
||||||
dataSrc: "",
|
dataSrc: "",
|
||||||
error: function ($xhr, textStatus, errorThrown) {
|
error: function ($xhr, textStatus, errorThrown) {
|
||||||
$(".dataTables_processing").hide();
|
$(".dt-processing").hide();
|
||||||
$('#loader').addClass("d-none");
|
$('#loader').addClass("d-none");
|
||||||
let txt = "";
|
let txt = "";
|
||||||
if ($xhr) {
|
if ($xhr) {
|
||||||
|
|
Loading…
Reference in a new issue