[-] BO : When we are in module configuration, all modules are not loaded

This commit is contained in:
fSerny committed 2011-12-27 16:01:55 +00:00
1 parent 0e749e21db
commit 33d899e069
1 file changed
+4
@@ -811,6 +811,10 @@ class AdminModulesControllerCore extends AdminController
// Adding Css // Adding Css
$this->addCSS(__PS_BASE_URI__.str_replace(_PS_ROOT_DIR_.DIRECTORY_SEPARATOR, '', _PS_ADMIN_DIR_).'/themes/default/modules.css', 'all'); $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 // Init
$smarty = $this->context->smarty; $smarty = $this->context->smarty;
$autocompleteList = 'var moduleList = ['; $autocompleteList = 'var moduleList = [';