mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
fix
This commit is contained in:
0
front/php/templates/language/de_de.json
Normal file → Executable file
0
front/php/templates/language/de_de.json
Normal file → Executable file
0
front/php/templates/language/fr_fr.json
Normal file → Executable file
0
front/php/templates/language/fr_fr.json
Normal file → Executable file
0
front/php/templates/language/uk_ua.json
Normal file → Executable file
0
front/php/templates/language/uk_ua.json
Normal file → Executable file
@@ -22,7 +22,7 @@
|
|||||||
// show spinning icon
|
// show spinning icon
|
||||||
showSpinner()
|
showSpinner()
|
||||||
|
|
||||||
var selectedTab = 'tabServer';
|
//var selectedTab = 'tabServer';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Page ------------------------------------------------------------------ -->
|
<!-- Page ------------------------------------------------------------------ -->
|
||||||
@@ -99,7 +99,6 @@ function loadTabContent(target) {
|
|||||||
const $tab = $(target);
|
const $tab = $(target);
|
||||||
const phpFile = $tab.data('php-file');
|
const phpFile = $tab.data('php-file');
|
||||||
|
|
||||||
|
|
||||||
if (phpFile && !$tab.data('loaded')) {
|
if (phpFile && !$tab.data('loaded')) {
|
||||||
showSpinner();
|
showSpinner();
|
||||||
$tab.load(phpFile, function () {
|
$tab.load(phpFile, function () {
|
||||||
@@ -110,7 +109,7 @@ function loadTabContent(target) {
|
|||||||
|
|
||||||
function initializeTabs() {
|
function initializeTabs() {
|
||||||
const key = "activeSysinfoTab";
|
const key = "activeSysinfoTab";
|
||||||
let selectedTab = "#panServer"; // fallback default
|
let selectedTab = "tabServer"; // fallback default
|
||||||
|
|
||||||
const cached = getCache(key);
|
const cached = getCache(key);
|
||||||
if (!emptyArr.includes(cached)) {
|
if (!emptyArr.includes(cached)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user