Fixed: The add new button disappear display type is not empty
This commit is contained in:
@@ -96,7 +96,7 @@ class AdminTabsControllerCore extends AdminController
|
||||
'desc' => $this->l('Back to list', null, null, false),
|
||||
'icon' => 'process-icon-back'
|
||||
);
|
||||
} elseif (empty($this->display)) {
|
||||
} elseif ($this->display != 'edit' && $this->display != 'add' && $this->display !='view') {
|
||||
$this->page_header_toolbar_btn['new_menu'] = array(
|
||||
'href' => self::$currentIndex.'&addtab&token='.$this->token,
|
||||
'desc' => $this->l('Add new menu', null, null, false),
|
||||
|
||||
Reference in New Issue
Block a user