Append debug msg (#1576)

This commit is contained in:
Christophe Maudoux 2018-12-10 21:26:06 +01:00
parent b359476709
commit 8efe808cc5
3 changed files with 3 additions and 2 deletions

View File

@ -316,7 +316,7 @@ $(document).ready ->
lang = window.availableLanguages[0]
else if lang not in window.availableLanguages
lang = window.availableLanguages[0]
console.log 'Selected lang', lang
console.log 'Selected lang ->', lang
setCookie 'llnglanguage', lang
translatePage(lang)

View File

@ -306,6 +306,7 @@ LemonLDAP::NG Portal jQuery scripts
} else if (indexOf.call(window.availableLanguages, lang) < 0) {
lang = window.availableLanguages[0];
}
console.log('Selected lang ->', lang);
setCookie('llnglanguage', lang);
translatePage(lang);
langdiv = '';

File diff suppressed because one or more lines are too long