// Small fix on AdminModules filters
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13748 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -176,7 +176,7 @@
|
||||
{
|
||||
// res.status = cache or refresh
|
||||
if (data == '{"status":"refresh"}')
|
||||
window.location.href = currentIndexWithToken;
|
||||
window.location.href = window.location.href;
|
||||
},
|
||||
error: function(res,textStatus,jqXHR)
|
||||
{
|
||||
|
||||
@@ -849,6 +849,11 @@ class AdminModulesControllerCore extends AdminController
|
||||
return true;
|
||||
|
||||
|
||||
// If action on module, we display it
|
||||
if (Tools::getValue('module_name') != '' && Tools::getValue('module_name') == $module->name)
|
||||
return false;
|
||||
|
||||
|
||||
// Filter on module name
|
||||
$filter_name = Tools::getValue('filtername');
|
||||
if (!empty($filter_name))
|
||||
|
||||
Reference in New Issue
Block a user