Fixed: The add new button disappear display type is not empty
This commit is contained in:
@@ -242,7 +242,7 @@ class AdminStatusesControllerCore extends AdminController
|
||||
|
||||
public function initPageHeaderToolbar()
|
||||
{
|
||||
if (empty($this->display)) {
|
||||
if ($this->display != 'edit' && $this->display != 'add' && $this->display !='view') {
|
||||
$this->page_header_toolbar_btn['new_order_state'] = array(
|
||||
'href' => self::$currentIndex.'&addorder_state&token='.$this->token,
|
||||
'desc' => $this->l('Add new order status', null, null, false),
|
||||
|
||||
Reference in New Issue
Block a user