Skip to content

Commit

Permalink
Merge branch '2.4.x' into 2.3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
oxlen committed Nov 14, 2021
2 parents 7eed8b6 + b332fb4 commit be52297
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions src/Ui/Component/Control/SaveSplitButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,31 +112,7 @@ private function getOptions(): array
],
],
'sort_order' => 10,
],
[
'label' => __('Save & New'),
'data_attribute' => [
'mage-init' => [
'buttonAdapter' => [
'actions' => [
[
'targetName' => $this->targetName,
'actionName' => 'save',
'params' => [
// first param is redirect flag, second is data that will be added to post
// request
true,
[
'redirect_to_new' => 1,
],
],
],
],
],
],
],
'sort_order' => 20,
],
]
];
return $options;
}
Expand Down

0 comments on commit be52297

Please sign in to comment.