Skip to content

Commit de2ba09

Browse files
author
Stanislav Idolov
authored
ENGCOM-969: [Forwardport] Added missing event parameter for proxy function on the search form submit #14185
2 parents 83a585e + e35c0e7 commit de2ba09

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
@@ -106,8 +106,8 @@ define([
106106
this.element.on('keydown', this._onKeyDown);
107107
this.element.on('input propertychange', this._onPropertyChange);
108108

109-
this.searchForm.on('submit', $.proxy(function () {
110-
this._onSubmit();
109+
this.searchForm.on('submit', $.proxy(function (e) {
110+
this._onSubmit(e);
111111
this._updateAriaHasPopup(false);
112112
}, this));
113113
},

0 commit comments

Comments
 (0)