diff --git a/controllers/admin/AdminAttributesGroupsController.php b/controllers/admin/AdminAttributesGroupsController.php index 68c3e79a2..297b3c2b7 100644 --- a/controllers/admin/AdminAttributesGroupsController.php +++ b/controllers/admin/AdminAttributesGroupsController.php @@ -466,11 +466,18 @@ class AdminAttributesGroupsControllerCore extends AdminController public function initPageHeaderToolbar() { if (empty($this->display)) + { $this->page_header_toolbar_btn['new_attribute_group'] = array( 'href' => self::$currentIndex.'&addattribute_group&token='.$this->token, 'desc' => $this->l('Add new attribute'), 'icon' => 'process-icon-new' ); + $this->page_header_toolbar_btn['new_value'] = array( + 'href' => self::$currentIndex.'&updateattribute&id_attribute_group='.(int)Tools::getValue('id_attribute_group').'&token='.$this->token, + 'desc' => $this->l('Add new value'), + 'icon' => 'process-icon-new' + ); + } if ($this->display == 'view') $this->page_header_toolbar_btn['new_value'] = array(