From 89ea7cd2ff123b649d3d723242c49f8eaded3f32 Mon Sep 17 00:00:00 2001 From: johndmulhausen Date: Tue, 17 Jan 2017 18:51:22 -0800 Subject: [PATCH] Fix searches not running on Enter, CS Release notes --- cs-engine/release-notes/release-notes.md | 2 +- js/menu.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cs-engine/release-notes/release-notes.md b/cs-engine/release-notes/release-notes.md index 744adddb30..252d3174e4 100644 --- a/cs-engine/release-notes/release-notes.md +++ b/cs-engine/release-notes/release-notes.md @@ -16,7 +16,7 @@ back-ported fixes (security-related and priority defects) from the open source. It incorporates defect fixes that you can use in environments where new features cannot be adopted as quickly for consistency and compatibility reasons. -#### Prior versions +## Prior versions These notes refer to the current and immediately prior releases of the CS Engine. For notes on older versions, see the [CS Engine prior release notes archive](prior-release-notes.md). diff --git a/js/menu.js b/js/menu.js index a3ed884261..9f83c1e3fc 100644 --- a/js/menu.js +++ b/js/menu.js @@ -27,7 +27,7 @@ function loadPage(url) } $(document).on("keypress", function(event) { if (event.keyCode == 13) { - event.preventDefault(); + if(autoCompleteShowing) event.preventDefault(); } }); function highlightMe(inputTxt,keyword)