// fix bug in bulk_actions of type "delete" in AdminController's
This commit is contained in:
@@ -53,6 +53,8 @@ class AdminAttributesGroupsControllerCore extends AdminController
|
||||
)
|
||||
);
|
||||
|
||||
$this->bulk_actions = array('delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?')));
|
||||
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
@@ -66,8 +68,6 @@ class AdminAttributesGroupsControllerCore extends AdminController
|
||||
$this->addRowAction('delete');
|
||||
$this->addRowAction('details');
|
||||
|
||||
$this->bulk_actions = array('delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?')));
|
||||
|
||||
return parent::renderList();
|
||||
}
|
||||
|
||||
@@ -117,8 +117,6 @@ class AdminAttributesGroupsControllerCore extends AdminController
|
||||
$this->addRowAction('edit');
|
||||
$this->addRowAction('delete');
|
||||
|
||||
$this->bulk_actions = array('delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?')));
|
||||
|
||||
// override attributes
|
||||
$this->display = 'list';
|
||||
$this->tpl_folder = 'attributes/';
|
||||
|
||||
Reference in New Issue
Block a user