fixed the issue of not being able to hit enter key to submit a form
This commit is contained in:
@@ -18,13 +18,6 @@ $(document).on('ajaxSend', function (elm, xhr, settings) {
|
||||
})
|
||||
window.addEventListener('DOMContentLoaded', function () {
|
||||
|
||||
document.addEventListener("keydown", function (event) {
|
||||
if (event.key === "Enter") {
|
||||
event.preventDefault();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
);
|
||||
inputAction.run();
|
||||
updatePage.run();
|
||||
buttonActions.run();
|
||||
|
||||
Reference in New Issue
Block a user