// Removing first confirm message on deleting a category
This commit is contained in:
@@ -34,9 +34,9 @@ class AdminCategoriesControllerCore extends AdminController
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->table = 'category';
|
||||
$this->table = 'category';
|
||||
$this->className = 'Category';
|
||||
$this->lang = true;
|
||||
$this->lang = true;
|
||||
$this->deleted = false;
|
||||
|
||||
$this->context = Context::getContext();
|
||||
@@ -80,8 +80,9 @@ class AdminCategoriesControllerCore extends AdminController
|
||||
)
|
||||
);
|
||||
|
||||
$this->bulk_actions = array('delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?')));
|
||||
|
||||
$this->bulk_actions = array('delete' => array('text' => $this->l('Delete selected')));
|
||||
$this->specificConfirmDelete = false;
|
||||
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user