[-] BO : #PSTEST-775 - Change button cancel, for back to list on the attribute and feature form
This commit is contained in:
@@ -464,9 +464,9 @@ class AdminAttributesGroupsControllerCore extends AdminController
|
|||||||
);
|
);
|
||||||
|
|
||||||
$back = self::$currentIndex.'&token='.$this->token;
|
$back = self::$currentIndex.'&token='.$this->token;
|
||||||
$this->toolbar_btn['cancel'] = array(
|
$this->toolbar_btn['back'] = array(
|
||||||
'href' => $back,
|
'href' => $back,
|
||||||
'desc' => $this->l('Cancel')
|
'desc' => $this->l('Back to list')
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
default: // list
|
default: // list
|
||||||
|
|||||||
@@ -217,9 +217,9 @@ class AdminFeaturesControllerCore extends AdminController
|
|||||||
if (empty($back))
|
if (empty($back))
|
||||||
$back = self::$currentIndex.'&token='.$this->token;
|
$back = self::$currentIndex.'&token='.$this->token;
|
||||||
|
|
||||||
$this->toolbar_btn['cancel'] = array(
|
$this->toolbar_btn['back'] = array(
|
||||||
'href' => $back,
|
'href' => $back,
|
||||||
'desc' => $this->l('Cancel')
|
'desc' => $this->l('Back to list')
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user