Add 'Save and stay' button on missing pages at back office
This commit is contained in:
@@ -285,6 +285,15 @@ class AdminSpecificPriceRuleControllerCore 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',
|
||||
),
|
||||
),
|
||||
);
|
||||
if (($value = $this->getFieldValue($this->object, 'price')) != -1) {
|
||||
$price = number_format($value, 6);
|
||||
|
||||
Reference in New Issue
Block a user