Skip to content

Commit e35c0e7

Browse files
ENGCOM-969: [Forwardport] Added missing event parameter for proxy function on the search form submit #14185
- Merge Pull Request #14185 from dimonovp/magento2:2.3-develop-PR-port-13811 - Merged commits: 1. 808487b
2 parents 28916b5 + 808487b commit e35c0e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Search/view/frontend/web/form-mini.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ define([
104104
this.element.on('keydown', this._onKeyDown);
105105
this.element.on('input propertychange', this._onPropertyChange);
106106

107-
this.searchForm.on('submit', $.proxy(function () {
108-
this._onSubmit();
107+
this.searchForm.on('submit', $.proxy(function (e) {
108+
this._onSubmit(e);
109109
this._updateAriaHasPopup(false);
110110
}, this));
111111
},

0 commit comments

Comments
 (0)