[-] BO : When we are in module configuration, all modules are not loaded
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11801 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -811,6 +811,10 @@ class AdminModulesControllerCore extends AdminController
|
||||
// Adding Css
|
||||
$this->addCSS(__PS_BASE_URI__.str_replace(_PS_ROOT_DIR_.DIRECTORY_SEPARATOR, '', _PS_ADMIN_DIR_).'/themes/default/modules.css', 'all');
|
||||
|
||||
// If we are on a module configuration, no need to load all modules
|
||||
if (Tools::getValue('configure') != '')
|
||||
return true;
|
||||
|
||||
// Init
|
||||
$smarty = $this->context->smarty;
|
||||
$autocompleteList = 'var moduleList = [';
|
||||
|
||||
Reference in New Issue
Block a user