Skip to content

Commit be52297

Browse files
committed
Merge branch '2.4.x' into 2.3.x
2 parents 7eed8b6 + b332fb4 commit be52297

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

src/Ui/Component/Control/SaveSplitButton.php

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -112,31 +112,7 @@ private function getOptions(): array
112112
],
113113
],
114114
'sort_order' => 10,
115-
],
116-
[
117-
'label' => __('Save & New'),
118-
'data_attribute' => [
119-
'mage-init' => [
120-
'buttonAdapter' => [
121-
'actions' => [
122-
[
123-
'targetName' => $this->targetName,
124-
'actionName' => 'save',
125-
'params' => [
126-
// first param is redirect flag, second is data that will be added to post
127-
// request
128-
true,
129-
[
130-
'redirect_to_new' => 1,
131-
],
132-
],
133-
],
134-
],
135-
],
136-
],
137-
],
138-
'sort_order' => 20,
139-
],
115+
]
140116
];
141117
return $options;
142118
}

0 commit comments

Comments
 (0)