// Improve details action in BO ...
This commit is contained in:
@@ -91,9 +91,8 @@ class AdminFeaturesControllerCore extends AdminController
|
||||
* method call when ajax request is made with the details row action
|
||||
* @see AdminController::postProcess()
|
||||
*/
|
||||
public function ajaxProcess()
|
||||
public function ajaxProcessDetails()
|
||||
{
|
||||
// test if an id is submit
|
||||
if (($id = Tools::getValue('id')))
|
||||
{
|
||||
$this->table = 'feature_value';
|
||||
@@ -143,7 +142,8 @@ class AdminFeaturesControllerCore extends AdminController
|
||||
$helper->bulk_actions = $this->bulk_actions;
|
||||
$content = $helper->generateList($this->_list, $this->fieldsDisplay);
|
||||
|
||||
$this->content = Tools::jsonEncode(array('use_parent_structure' => false, 'data' => $content));
|
||||
echo Tools::jsonEncode(array('use_parent_structure' => false, 'data' => $content));
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user