Fix #8789: AJAX search - Enter button does not work in IE
authorAntoine Musso <hashar@users.mediawiki.org>
Sat, 3 Feb 2007 21:34:44 +0000 (21:34 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sat, 3 Feb 2007 21:34:44 +0000 (21:34 +0000)
Patch by Andy <andrew.cook@chw.edu>, reviewed by NotACat on IRC

RELEASE-NOTES
skins/common/ajaxsearch.js

index 5612ad2..81d87ed 100644 (file)
@@ -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 ==
index e6ea31a..01916d9 100644 (file)
@@ -32,7 +32,7 @@ function Search_Typing() {
                if (event.keyCode == 13)
                {
                        event.cancelBubble = true;
-                       event.returnValue = false;
+                       event.returnValue = true;
                }
        }
 }