// small ajax.php clean

This commit is contained in:
Rémi Gaillard
2013-08-29 11:47:11 +02:00
parent 6d1c8c54af
commit c736c28ab5
5 changed files with 23 additions and 100 deletions
+7 -2
View File
@@ -183,10 +183,15 @@ function changeFormLanguage(id_language_new, iso_code, employee_cookie)
// For multishop checkboxes
$('.multishop_lang_'+id_language_new).show().siblings('div[class^=\'multishop_lang_\']').hide();
$('.language_flags').hide();
if (employee_cookie)
$.post("ajax.php", { form_language_id: id_language_new });
$.post("index.php", {
action: 'formLanguage',
tab: 'AdminEmployees',
ajax: 1,
token: employee_token,
form_language_id: id_language_new
});
id_language = id_language_new;
updateCurrentText();