[-] BO : BugFix : PSTEST-608 Removing the possibility to edit or remove Root category in AdminTrackingController

This commit is contained in:
vChabot committed 2012-01-30 17:28:33 +00:00
1 parent bf7acc1d11
commit 149dfbfcf7
1 file changed
+2
@@ -77,6 +77,8 @@ class AdminTrackingControllerCore extends AdminController
$this->addRowAction('edit'); $this->addRowAction('edit');
$this->addRowAction('delete'); $this->addRowAction('delete');
$this->addRowAction('view'); $this->addRowAction('view');
$this->addRowActionSkipList('delete', array(Category::getTopCategory()->id));
$this->addRowActionSkipList('edit', array(Category::getTopCategory()->id));
$this->fieldsDisplay = (array( $this->fieldsDisplay = (array(
'id_category' => array('title' => $this->l('ID'), 'width' => 50), 'id_category' => array('title' => $this->l('ID'), 'width' => 50),