Skip to content

Commit dd9386c

Browse files
author
Volodymyr Zaets
committed
Merge remote-tracking branch 'origin/MAGETWO-44746' into PR
2 parents d3f48a0 + 8061328 commit dd9386c

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/Ui/view/base/web/js/modal

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ define([
1616
options: {
1717
modalClass: 'confirm',
1818
title: '',
19+
focus: '.action-accept',
1920
actions: {
2021

2122
/**
@@ -61,7 +62,7 @@ define([
6162
*/
6263
_create: function () {
6364
this._super();
64-
this.modal.find(this.options.modalCloseBtn).off().on('click', _.bind(this.closeModal, this, false));
65+
this.modal.find(this.options.modalCloseBtn).off().on('click', _.bind(this.closeModal, this));
6566
this.openModal();
6667
},
6768

0 commit comments

Comments
 (0)