From 400b83ac4eedf6b3e17102ce3eb69163f3bfc84b Mon Sep 17 00:00:00 2001 From: fredtempez Date: Tue, 29 Oct 2019 22:40:41 +0100 Subject: [PATCH] =?UTF-8?q?[10.0.54.dev]=20R=C3=A9parer=20s=C3=A9lection?= =?UTF-8?q?=20de=20langue=20dans=20la=20barre=20d'administration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.js.php | 8 +++----- core/core.php | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/core/core.js.php b/core/core.js.php index 7634bef4..ee6d0e82 100755 --- a/core/core.js.php +++ b/core/core.js.php @@ -250,15 +250,13 @@ core.start = function() { $(location).attr("href", pageUrl); } }); + /** * Choix de la langue dans la barre de membre */ $("#barFormSelectLanguage").on("change", function(){ - var i18nLang = $(this).val(); - if(i18nLang) { - $("#barFormSelectLanguage").submit(); - } - }); + $("#barFormSelectLanguage").submit(); + }); /** * Champs d'upload de fichiers */ diff --git a/core/core.php b/core/core.php index e7e39997..59527bdc 100644 --- a/core/core.php +++ b/core/core.php @@ -31,7 +31,7 @@ class common { const TEMP_DIR = 'site/tmp/'; // Numéro de version - const ZWII_VERSION = '10.0.53.dev'; + const ZWII_VERSION = '10.0.54.dev'; public static $actions = []; public static $coreModuleIds = [