Add 'Save and stay' button on missing pages at back office
This commit is contained in:
@@ -368,6 +368,16 @@ class AdminCountriesControllerCore extends AdminController
|
||||
'title' => $this->l('Save')
|
||||
);
|
||||
|
||||
$this->fields_form['buttons'] = array(
|
||||
'save-and-stay' => array(
|
||||
'title' => $this->l('Save and stay'),
|
||||
'name' => 'submitAdd'.$this->table.'AndStay',
|
||||
'type' => 'submit',
|
||||
'class' => 'btn btn-default pull-right',
|
||||
'icon' => 'process-icon-save',
|
||||
)
|
||||
);
|
||||
|
||||
return parent::renderForm();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user