Skip to content

Commit

Permalink
WebUIs: fix datatables processing class name
Browse files Browse the repository at this point in the history
was changed to dt-processing in datatables 2.0

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
  • Loading branch information
drakkan committed May 23, 2024
1 parent 0127fc1 commit 9ba92d9
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion templates/webadmin/admins.html
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ <h3 data-i18n="admin.view_manage" class="card-title section-title">View and mana
url: "{{.AdminsURL}}/json",
dataSrc: "",
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
$('#loader').addClass("d-none");
let txt = "";
if ($xhr) {
Expand Down
2 changes: 1 addition & 1 deletion templates/webadmin/connections.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ <h3 data-i18n="connections.view_manage" class="card-title section-title">View an
url: "{{.ConnectionsURL}}/json",
dataSrc: "",
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
$('#loader').addClass("d-none");
let txt = "";
if ($xhr) {
Expand Down
2 changes: 1 addition & 1 deletion templates/webadmin/defender.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ <h3 data-i18n="defender.view_manage" class="card-title section-title">View and m
url: "{{.DefenderHostsURL}}",
dataSrc: "",
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
$('#loader').addClass("d-none");
let txt = "";
if ($xhr) {
Expand Down
2 changes: 1 addition & 1 deletion templates/webadmin/eventactions.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ <h3 data-i18n="actions.view_manage" class="card-title section-title">View and ma
url: "{{.EventActionsURL}}/json",
dataSrc: "",
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
$('#loader').addClass("d-none");
let txt = "";
if ($xhr) {
Expand Down
2 changes: 1 addition & 1 deletion templates/webadmin/eventrules.html
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ <h3 data-i18n="rules.view_manage" class="card-title section-title">View and mana
url: "{{.EventRulesURL}}/json",
dataSrc: "",
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
$('#loader').addClass("d-none");
let txt = "";
if ($xhr) {
Expand Down
6 changes: 3 additions & 3 deletions templates/webadmin/events.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ <h3 data-i18n="events.search" class="card-title section-title">Search logs</h3>
url: getSearchURL(false),
dataSrc: handleResponseData,
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
let txt = "";
if ($xhr) {
let json = $xhr.responseJSON;
Expand Down Expand Up @@ -644,7 +644,7 @@ <h3 data-i18n="events.search" class="card-title section-title">Search logs</h3>
url: getSearchURL(false),
dataSrc: handleResponseData,
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
let txt = "";
if ($xhr) {
let json = $xhr.responseJSON;
Expand Down Expand Up @@ -824,7 +824,7 @@ <h3 data-i18n="events.search" class="card-title section-title">Search logs</h3>
url: getSearchURL(false),
dataSrc: handleResponseData,
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
let txt = "";
if ($xhr) {
let json = $xhr.responseJSON;
Expand Down
2 changes: 1 addition & 1 deletion templates/webadmin/folders.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ <h3 data-i18n="virtual_folders.view_manage" class="card-title section-title">Vie
url: "{{.FoldersURL}}/json",
dataSrc: "",
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
$('#loader').addClass("d-none");
let txt = "";
if ($xhr) {
Expand Down
2 changes: 1 addition & 1 deletion templates/webadmin/groups.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ <h3 data-i18n="group.view_manage" class="card-title section-title">View and mana
url: "{{.GroupsURL}}/json",
dataSrc: "",
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
$('#loader').addClass("d-none");
let txt = "";
if ($xhr) {
Expand Down
2 changes: 1 addition & 1 deletion templates/webadmin/iplists.html
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ <h3 data-i18n="ip_list.view_manage" class="card-title section-title">View and ma
url: getSearchURL(),
dataSrc: handleResponseData,
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
$('#loader').addClass("d-none");
let txt = "";
if ($xhr) {
Expand Down
2 changes: 1 addition & 1 deletion templates/webadmin/roles.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ <h3 data-i18n="role.view_manage" class="card-title section-title">View and manag
url: "{{.RolesURL}}/json",
dataSrc: "",
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
$('#loader').addClass("d-none");
let txt = "";
if ($xhr) {
Expand Down
2 changes: 1 addition & 1 deletion templates/webadmin/users.html
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ <h3 data-i18n="user.view_manage" class="card-title section-title">View and manag
url: "{{.UsersURL}}/json",
dataSrc: "",
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
$('#loader').addClass("d-none");
let txt = "";
if ($xhr) {
Expand Down
4 changes: 2 additions & 2 deletions templates/webclient/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ <h3 data-i18n="fs.upload.message_empty" class="fs-5 fw-bold text-gray-900 mb-1">
url: dirsURL,
dataSrc: "",
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
let txt = "";
if ($xhr) {
let json = $xhr.responseJSON;
Expand Down Expand Up @@ -562,7 +562,7 @@ <h3 data-i18n="fs.upload.message_empty" class="fs-5 fw-bold text-gray-900 mb-1">
url: "{{.DirsURL}}?path={{.CurrentDir}}",
dataSrc: "",
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
$('#loader').addClass("d-none");
let txt = "";
if ($xhr) {
Expand Down
2 changes: 1 addition & 1 deletion templates/webclient/shares.html
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ <h4 data-i18n="share.link_uncompressed_title">Uncompressed file</h4>
url: "{{.SharesURL}}/json",
dataSrc: "",
error: function ($xhr, textStatus, errorThrown) {
$(".dataTables_processing").hide();
$(".dt-processing").hide();
$('#loader').addClass("d-none");
let txt = "";
if ($xhr) {
Expand Down

0 comments on commit 9ba92d9

Please sign in to comment.