From cc920635c3c2f6e958fe421603474e61524d29b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Wed, 1 Dec 2021 18:55:55 +0100 Subject: [PATCH] Config button select after submit --- core/module/config/view/index/index.js.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/module/config/view/index/index.js.php b/core/module/config/view/index/index.js.php index 61b8564c..ca058779 100644 --- a/core/module/config/view/index/index.js.php +++ b/core/module/config/view/index/index.js.php @@ -140,20 +140,20 @@ $( document).ready(function() { $("#networkContainer").hide(); $("#setupContainer").show(); $("#configSetupButton").addClass("activeButton"); - $("#configLocalButton").removeClass("activeButton"); + $("#configLocaleButton").removeClass("activeButton"); $("#configSocialButton").removeClass("activeButton"); $("#configConnectButton").removeClass("activeButton"); $("#configNetworkButton").removeClass("activeButton"); setCookie("configLayout","setup"); }); - $("#configLocalButton").on("click", function() { + $("#configLocaleButton").on("click", function() { $("#setupContainer").hide(); $("#socialContainer").hide(); $("#connectContainer").hide(); $("#networkContainer").hide(); $("#localeContainer").show(); $("#configSetupButton").removeClass("activeButton"); - $("#configLocalButton").addClass("activeButton"); + $("#configLocaleButton").addClass("activeButton"); $("#configSocialButton").removeClass("activeButton"); $("#configConnectButton").removeClass("activeButton"); $("#configNetworkButton").removeClass("activeButton"); @@ -166,7 +166,7 @@ $( document).ready(function() { $("#networkContainer").hide(); $("#socialContainer").show(); $("#configSetupButton").removeClass("activeButton"); - $("#configLocalButton").removeClass("activeButton"); + $("#configLocaleButton").removeClass("activeButton"); $("#configSocialButton").addClass("activeButton"); $("#configConnectButton").removeClass("activeButton"); $("#configNetworkButton").removeClass("activeButton"); @@ -179,7 +179,7 @@ $( document).ready(function() { $("#networkContainer").hide(); $("#connectContainer").show(); $("#configSetupButton").removeClass("activeButton"); - $("#configLocalButton").removeClass("activeButton"); + $("#configLocaleButton").removeClass("activeButton"); $("#configSocialButton").removeClass("activeButton"); $("#configConnectButton").addClass("activeButton"); $("#configNetworkButton").removeClass("activeButton"); @@ -192,7 +192,7 @@ $( document).ready(function() { $("#connectContainer").hide(); $("#networkContainer").show(); $("#configSetupButton").removeClass("activeButton"); - $("#configLocalButton").removeClass("activeButton"); + $("#configLocaleButton").removeClass("activeButton"); $("#configSocialButton").removeClass("activeButton"); $("#configConnectButton").removeClass("activeButton"); $("#configNetworkButton").addClass("activeButton");