#784848 by kbgordon7 : Fixed Coding style for comments in autocomplete.js.

merge-requests/26/head
Angie Byron 2010-04-30 05:23:43 +00:00
parent a2ab3fd876
commit d9ada384ee
1 changed files with 15 additions and 15 deletions

View File

@ -72,23 +72,23 @@ Drupal.jsAC.prototype.onkeyup = function (input, e) {
e = window.event; e = window.event;
} }
switch (e.keyCode) { switch (e.keyCode) {
case 16: // shift. case 16: // Shift.
case 17: // ctrl. case 17: // Ctrl.
case 18: // alt. case 18: // Alt.
case 20: // caps lock. case 20: // Caps lock.
case 33: // page up. case 33: // Page up.
case 34: // page down. case 34: // Page down.
case 35: // end. case 35: // End.
case 36: // home. case 36: // Home.
case 37: // left arrow. case 37: // Left arrow.
case 38: // up arrow. case 38: // Up arrow.
case 39: // right arrow. case 39: // Right arrow.
case 40: // down arrow. case 40: // Down arrow.
return true; return true;
case 9: // tab. case 9: // Tab.
case 13: // enter. case 13: // Enter.
case 27: // esc. case 27: // Esc.
this.hidePopup(e.keyCode); this.hidePopup(e.keyCode);
return true; return true;