[-] BO : #PSTEST-989 - Remove button "Save and add" on form add/edit feature

This commit is contained in:
mDeflotte
2012-03-08 09:31:38 +00:00
parent 8beb28be95
commit 318443a150
@@ -205,12 +205,13 @@ class AdminFeaturesControllerCore extends AdminController
'desc' => $this->l('Save')
);
$this->toolbar_btn['save-and-stay'] = array(
'short' => 'SaveAndStay',
'href' => '#',
'desc' => $this->l('Save and add'),
'force_desc' => true,
);
if ($this->display == 'editFeatureValue')
$this->toolbar_btn['save-and-stay'] = array(
'short' => 'SaveAndStay',
'href' => '#',
'desc' => $this->l('Save and add'),
'force_desc' => true,
);
// Default cancel button - like old back link
$back = Tools::safeOutput(Tools::getValue('back', ''));