page edit bug persistence onglet extension

This commit is contained in:
Fred Tempez 2022-05-19 18:30:23 +02:00
parent 4697bd581f
commit 0550e7a8f9

View File

@ -67,7 +67,7 @@ $( document ).ready(function() {
$("#pageEditPermissionContainer").hide(); $("#pageEditPermissionContainer").hide();
$("#pageEdit" + capitalizeFirstLetter(pageLayout) + "Container").show(); $("#pageEdit" + capitalizeFirstLetter(pageLayout) + "Container").show();
$("#pageEdit" + capitalizeFirstLetter(pageLayout) + "Button").addClass("activeButton"); $("#pageEdit" + capitalizeFirstLetter(pageLayout) + "Button").addClass("activeButton");
/* /*
* Enleve le menu fixe en édition de page * Enleve le menu fixe en édition de page
@ -295,7 +295,7 @@ $( document ).ready(function() {
$("#PageEditPositionButton").removeClass("activeButton"); $("#PageEditPositionButton").removeClass("activeButton");
$("#pageEditLayoutButton").removeClass("activeButton"); $("#pageEditLayoutButton").removeClass("activeButton");
$("#pageEditPermissionButton").removeClass("activeButton"); $("#pageEditPermissionButton").removeClass("activeButton");
console.log("extension"); setCookie("pageLayout", "extension");
}); });
$("#PageEditPositionButton").on("click", function () { $("#PageEditPositionButton").on("click", function () {
$("#pageEditContentContainer").hide(); $("#pageEditContentContainer").hide();