src/hg/js/jquery.autocomplete.js 1.2
1.2 2010/02/04 22:51:49 larrym
patch which fixes following problem: up/down arrows didn't work on IE, Safari and Chrome; patch downloaded from: http://code.google.com/p/jqac/issues/detail?id=1
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;