// Merge -> revision 9061
This commit is contained in:
@@ -559,9 +559,13 @@ if (Tools::isSubmit('helpAccess'))
|
||||
|
||||
if (Tools::isSubmit('getHookableList'))
|
||||
{
|
||||
if (!strlen(Tools::getValue('hooks_list')))
|
||||
die('{"hasError" : true, "errors" : ["Live Edit : no module on this page"]}');
|
||||
|
||||
$modules_list = explode(',', Tools::getValue('modules_list'));
|
||||
$hooks_list = explode(',', Tools::getValue('hooks_list'));
|
||||
$hookableList = array();
|
||||
|
||||
foreach ($modules_list as $module)
|
||||
{
|
||||
$module = trim($module);
|
||||
@@ -581,6 +585,7 @@ if (Tools::isSubmit('getHookableList'))
|
||||
}
|
||||
|
||||
}
|
||||
$hookableList['hasError'] = false;
|
||||
die(Tools::jsonEncode($hookableList));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user