don't disable search input & clear it on server change
All checks were successful
Build and Push Docker Image / build (push) Successful in 13s

This commit is contained in:
Corban-Lee Jones 2024-10-10 22:14:49 +01:00
parent b8ff2ae303
commit 49dfb59d71
3 changed files with 4 additions and 2 deletions

View File

@ -72,9 +72,11 @@ function setTableOrdering(tableId, value) {
_tableOrdering[tableId] = value;
}
// Clear all kinds of sorting and filtering when changing servers
$(document).on("selectedServerChange", function() {
_tableFilters = {};
_tableOrdering = {};
$(".table-search-input").val("");
});

View File

@ -4,7 +4,7 @@
<label for="searchForFilter" class="table-search-label">
<i class="bi bi-search"></i>
</label>
<input type="search" id="searchForFilter" class="table-search-input disable-while-loading" placeholder="search">
<input type="search" id="searchForFilter" class="table-search-input" placeholder="search">
</div>
</div>
<div class="col-md-6 col-lg-7 col-xl-8 col-xxl-9 text-md-end table-search-buttons">

View File

@ -4,7 +4,7 @@
<label for="searchForSubscription" class="table-search-label">
<i class="bi bi-search"></i>
</label>
<input type="search" id="searchForSubscription" class="table-search-input disable-while-loading" placeholder="search">
<input type="search" id="searchForSubscription" class="table-search-input" placeholder="search">
</div>
</div>
<div class="col-md-6 col-lg-7 col-xl-8 col-xxl-9 text-md-end table-search-buttons">