Skip to content

Commit 10c89f7

Browse files
committed
Revert "Calling the always action on opening and closing the modal."
This reverts commit 0c402ae.
1 parent 0c402ae commit 10c89f7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/code/Magento/Ui/view/base/web/js/modal/alert.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ define([
4343
* Close modal window.
4444
*/
4545
closeModal: function () {
46+
this.options.actions.always();
4647
this.element.bind('alertclosed', _.bind(this._remove, this));
4748

4849
return this._super();

app/code/Magento/Ui/view/base/web/js/modal/confirm.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ define([
8080
* Open modal window.
8181
*/
8282
openModal: function () {
83-
this.options.actions.always();
84-
8583
return this._super();
8684
},
8785

0 commit comments

Comments
 (0)