Index: src/hg/js/jquery.autocomplete.js
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/js/jquery.autocomplete.js,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -B -U 4 -r1.1 -r1.2
--- src/hg/js/jquery.autocomplete.js	4 Feb 2010 22:47:57 -0000	1.1
+++ src/hg/js/jquery.autocomplete.js	4 Feb 2010 22:51:49 -0000	1.2
@@ -144,16 +144,8 @@
       // escape clears menu
       case ESC:
         clearSuggestions();
         return false;
-    }
-    return true;
-  });
-  me.keypress(function(ev){
-    // ev.which doesn't work here - it always returns 0
-    switch(ev.keyCode){
-      case RETURN: case ESC:
-        return false;
       // up changes highlight
       case ARRUP:
         changeHighlight(ev.keyCode);
         return false;

