prevent form from being submitted when enter is pressed in multiselect. fixes #961
This commit is contained in:
parent
dd34cc5d67
commit
911a0bb082
@ -2155,6 +2155,12 @@ the specific language governing permissions and limitations under the Apache Lic
|
||||
// prevent the page from scrolling
|
||||
killEvent(e);
|
||||
}
|
||||
|
||||
if (e.which === KEY.ENTER) {
|
||||
// prevent form from being submitted
|
||||
killEvent(e);
|
||||
}
|
||||
|
||||
}));
|
||||
|
||||
this.search.bind("keyup", this.bind(this.resizeSearch));
|
||||
|
Loading…
Reference in New Issue
Block a user