Merge pull request #883 from abhishek-webkul/gli-1671

Added: 'Save and stay' button on missing pages at back office
This commit is contained in:
Rohit Jain
2024-03-14 20:39:06 +05:30
committed by GitHub
26 changed files with 323 additions and 32 deletions

View File

@@ -183,7 +183,16 @@ class AdminTabsControllerCore extends AdminController
),
'submit' => array(
'title' => $this->l('Save'),
)
),
'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',
),
),
);
$this->fields_form['input'][] = array(