Skip to content

Commit 0c402ae

Browse files
committed
Calling the always action on opening and closing the modal.
1 parent bb3cede commit 0c402ae

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

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

4948
return this._super();

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

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

0 commit comments

Comments
 (0)