From 255349e93c1b4eb3817bda3e4f308937a113cb91 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 25 Mar 2022 09:19:45 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20pages=20TinyMCE,=20?= =?UTF-8?q?fonction=20mal=20plac=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/page/page.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/module/page/page.php b/core/module/page/page.php index 53b2e9be..47c5c406 100644 --- a/core/module/page/page.php +++ b/core/module/page/page.php @@ -496,6 +496,10 @@ class page extends common { // Met à jour le site map $this->createSitemap('all'); + + // Mise à jour de la liste des pages pour TinyMCE + $this->pages2Json(); + // Redirection vers la configuration if( $this->getInput('pageEditModuleRedirect', helper::FILTER_BOOLEAN) @@ -529,8 +533,6 @@ class page extends common { self::$pagesBarId[$parentPageId] = $this->getData(['page', $parentPageId, 'title']); } } - // Mise à jour de la liste des pages pour TinyMCE - $this->pages2Json(); // Valeurs en sortie $this->addOutput([ 'title' => $this->getData(['page', $this->getUrl(2), 'title']),