Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
d9ada384
Commit
d9ada384
authored
Apr 30, 2010
by
webchick
Browse files
#784848
by kbgordon7 : Fixed Coding style for comments in autocomplete.js.
parent
a2ab3fd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
misc/autocomplete.js
View file @
d9ada384
...
@@ -72,23 +72,23 @@ Drupal.jsAC.prototype.onkeyup = function (input, e) {
...
@@ -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
:
//
s
hift.
case
16
:
//
S
hift.
case
17
:
//
c
trl.
case
17
:
//
C
trl.
case
18
:
//
a
lt.
case
18
:
//
A
lt.
case
20
:
//
c
aps lock.
case
20
:
//
C
aps lock.
case
33
:
//
p
age up.
case
33
:
//
P
age up.
case
34
:
//
p
age down.
case
34
:
//
P
age down.
case
35
:
//
e
nd.
case
35
:
//
E
nd.
case
36
:
//
h
ome.
case
36
:
//
H
ome.
case
37
:
//
l
eft arrow.
case
37
:
//
L
eft arrow.
case
38
:
//
u
p arrow.
case
38
:
//
U
p arrow.
case
39
:
//
r
ight arrow.
case
39
:
//
R
ight arrow.
case
40
:
//
d
own arrow.
case
40
:
//
D
own arrow.
return
true
;
return
true
;
case
9
:
//
t
ab.
case
9
:
//
T
ab.
case
13
:
//
e
nter.
case
13
:
//
E
nter.
case
27
:
//
e
sc.
case
27
:
//
E
sc.
this
.
hidePopup
(
e
.
keyCode
);
this
.
hidePopup
(
e
.
keyCode
);
return
true
;
return
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment