From: Antoine Musso Date: Sat, 3 Feb 2007 21:34:44 +0000 (+0000) Subject: Fix #8789: AJAX search - Enter button does not work in IE X-Git-Tag: 1.31.0-rc.0~54144 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=c2138e7c6c33558669d3ef93e12848fac81ddd53;p=lhc%2Fweb%2Fwiklou.git Fix #8789: AJAX search - Enter button does not work in IE Patch by Andy , reviewed by NotACat on IRC --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 5612ad20bd..81d87edde9 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -167,6 +167,7 @@ lighter making things easier to read. affecting pages which had null edits (move, protect, etc) as second edit in a batch group. Isolated and patched by Travis Derouin. * Fix for paths in 1.4->1.5 special-case updater script +* (bug 8789) AJAX search: IE users can now use the return key == Languages updated == diff --git a/skins/common/ajaxsearch.js b/skins/common/ajaxsearch.js index e6ea31ab35..01916d98ca 100644 --- a/skins/common/ajaxsearch.js +++ b/skins/common/ajaxsearch.js @@ -32,7 +32,7 @@ function Search_Typing() { if (event.keyCode == 13) { event.cancelBubble = true; - event.returnValue = false; + event.returnValue = true; } } }