[-] BO : Fix scroll when errors occurred on modules

This commit is contained in:
fSerny
2012-05-17 00:07:03 +00:00
parent 8d64e384b4
commit 3ea14ea72b
2 changed files with 2 additions and 1 deletions

View File

@@ -771,6 +771,7 @@ class AdminModulesControllerCore extends AdminController
// If error during module installation, no redirection
$html_error = $this->generateHtmlMessage($module_errors);
$this->errors[] = sprintf(Tools::displayError('The following module(s) were not installed properly: %s'), $html_error);
$this->context->smarty->assign('error_module', 'true');
}
}
if ($return)