add "save and stay" button in garancia vap

This commit is contained in:
Rodney Figaro 2017-02-27 17:09:05 +01:00
parent 34fb77e0dc
commit 9e2295a786

View File

@ -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,