// Improve details action in BO ...

This commit is contained in:
rMalie
2012-01-18 16:37:00 +00:00
parent a795091eec
commit 82ca2bb145
7 changed files with 126 additions and 246 deletions
@@ -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;
}
}