Skip to content

Commit 552eaaf

Browse files
event is used in the closeModal body
1 parent b41ea13 commit 552eaaf

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ define([
162162
}
163163

164164
value = this.modal.find(this.options.promptField).val();
165-
this.options.actions.confirm.call(this, value);
165+
this.options.actions.confirm.call(event, value);
166166
} else {
167-
this.options.actions.cancel.call(this, result);
167+
this.options.actions.cancel.call(event, result);
168168
}
169169

170170
this.options.actions.always();

0 commit comments

Comments
 (0)