diff --git a/core/module/config/view/index/index.js.php b/core/module/config/view/index/index.js.php index 24112631..c4a6501a 100644 --- a/core/module/config/view/index/index.js.php +++ b/core/module/config/view/index/index.js.php @@ -68,7 +68,7 @@ $(document).ready(function () { var configLayout = "getData(['user', $this->getUser('id'), 'view', 'config']);?>"; // Non défini, valeur par défaut - if (configLayout == null) { + if (configLayout == "") { configLayout = "setup"; } diff --git a/core/module/page/view/edit/edit.js.php b/core/module/page/view/edit/edit.js.php index f865d034..bf249fea 100644 --- a/core/module/page/view/edit/edit.js.php +++ b/core/module/page/view/edit/edit.js.php @@ -68,8 +68,9 @@ $( document ).ready(function() { * Sélection des onglets */ var pageLayout = "getData(['user', $this->getUser('id'), 'view', 'page']);?>"; + console.log(pageLayout); // Non défini, valeur par défaut - if (pageLayout == null) { + if (pageLayout == "") { pageLayout = "content"; } // Tout cacher