add "save and stay" button in garancia vap
This commit is contained in:
parent
34fb77e0dc
commit
9e2295a786
@ -14,7 +14,6 @@ class AdminGaranciaVapController extends AdminController
|
||||
$this->className = 'GaranciaVapModel';
|
||||
$this->lang = true;
|
||||
$this->context = Context::getContext();
|
||||
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
@ -40,6 +39,12 @@ class AdminGaranciaVapController extends AdminController
|
||||
if (!$obj = $this->loadObject(TRUE)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$this->toolbar_btn['save-and-stay'] = array(
|
||||
'short' => 'SaveAndStay',
|
||||
'href' => '#',
|
||||
'desc' => $this->l('Save and stay'),
|
||||
);
|
||||
|
||||
$this->fields_form = array(
|
||||
'multilang'=> true,
|
||||
|
Loading…
Reference in New Issue
Block a user