.18 cookie absent

This commit is contained in:
fredtempez 2021-12-06 11:37:03 +01:00
parent c0f44630ba
commit cd4ed108b8
2 changed files with 4 additions and 13 deletions

View File

@ -45,7 +45,7 @@ class common {
// Numéro de version
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/';
const ZWII_VERSION = '11.2.00.17';
const ZWII_VERSION = '11.2.00.18';
const ZWII_UPDATE_CHANNEL = "test";
public static $actions = [];

View File

@ -39,17 +39,8 @@ $( document).ready(function() {
}
var configLayout = getCookie("configLayout");
if (configLayout == "null") {
$("#localeContainer").hide();
$("#socialContainer").hide();
$("#connectContainer").hide();
$("#networkContainer").hide();
$("#setupContainer").show();
$("#configSetupButton").addClass("activeButton");
$("#configLocaleButton").removeClass("activeButton");
$("#configSocialButton").removeClass("activeButton");
$("#configConnectButton").removeClass("activeButton");
$("#configNetworkButton").removeClass("activeButton");
if (configLayout == null) {
configLayout = "setup";
setCookie("configLayout","setup");
}
$("#localeContainer").hide();
@ -235,4 +226,4 @@ function getCookie(name) {
// Define function to capitalize the first letter of a string
function capitalizeFirstLetter(string) {
return string.charAt(0).toUpperCase() + string.slice(1);
}
}