// 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
@@ -472,7 +472,15 @@ class AdminEmployeesControllerCore extends AdminController
return $res;
}
protected function ajaxProcessFormLanguage()
{
$this->context->cookie->employee_form_lang = (int)Tools::getValue('form_language_id');
if (!$this->context->cookie->write())
die ('Error while updating cookie.');
die ('Form language updated.');
}
public function ajaxProcessGetTabByIdProfile()
{
$id_profile = Tools::getValue('id_profile');