1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 13:44:12 +02:00

[ticket/12254] Use new set_lang var to avoid conflict with change_lang

PHPBB3-12254
This commit is contained in:
Matt Friedman
2014-04-07 09:14:58 -07:00
parent a5940ede5b
commit daae87d65a
4 changed files with 8 additions and 6 deletions

View File

@@ -11,6 +11,7 @@
function change_language(lang_iso)
{
document.forms['register'].change_lang.value = lang_iso;
document.forms['register'].set_lang.value = lang_iso;
document.forms['register'].submit();
}

View File

@@ -8,6 +8,7 @@
function change_language(lang_iso)
{
document.forms['register'].change_lang.value = lang_iso;
document.forms['register'].set_lang.value = lang_iso;
document.forms['register'].submit.click();
}
// ]]>