Browse Source

WebUIs: fix datatables processing class name

was changed to dt-processing in datatables 2.0

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
Nicola Murino 1 year ago
parent
commit
4d9450a980

+ 1 - 1
templates/webadmin/admins.html

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

+ 1 - 1
templates/webadmin/connections.html

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

+ 1 - 1
templates/webadmin/defender.html

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

+ 1 - 1
templates/webadmin/eventactions.html

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

+ 1 - 1
templates/webadmin/eventrules.html

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

+ 3 - 3
templates/webadmin/events.html

@@ -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;

+ 1 - 1
templates/webadmin/folders.html

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

+ 1 - 1
templates/webadmin/groups.html

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

+ 1 - 1
templates/webadmin/iplists.html

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

+ 1 - 1
templates/webadmin/roles.html

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

+ 1 - 1
templates/webadmin/users.html

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

+ 2 - 2
templates/webclient/files.html

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

+ 1 - 1
templates/webclient/shares.html

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