[-] BO : #PSTEST-989 - Remove button "Save and add" on form add/edit feature
This commit is contained in:
1 parent
8beb28be95
commit
318443a150
1 file changed
+7
-6
@@ -205,12 +205,13 @@ class AdminFeaturesControllerCore extends AdminController
|
|||||||
'desc' => $this->l('Save')
|
'desc' => $this->l('Save')
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->toolbar_btn['save-and-stay'] = array(
|
if ($this->display == 'editFeatureValue')
|
||||||
'short' => 'SaveAndStay',
|
$this->toolbar_btn['save-and-stay'] = array(
|
||||||
'href' => '#',
|
'short' => 'SaveAndStay',
|
||||||
'desc' => $this->l('Save and add'),
|
'href' => '#',
|
||||||
'force_desc' => true,
|
'desc' => $this->l('Save and add'),
|
||||||
);
|
'force_desc' => true,
|
||||||
|
);
|
||||||
|
|
||||||
// Default cancel button - like old back link
|
// Default cancel button - like old back link
|
||||||
$back = Tools::safeOutput(Tools::getValue('back', ''));
|
$back = Tools::safeOutput(Tools::getValue('back', ''));
|
||||||
|
|||||||
Reference in new issue
Block a user