Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
web-apps
Commits
76105ffb
Commit
76105ffb
authored
Mar 16, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 31933
parent
cf8bb717
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
apps/common/main/lib/component/ComboBoxFonts.js
apps/common/main/lib/component/ComboBoxFonts.js
+3
-4
apps/common/main/resources/less/combobox.less
apps/common/main/resources/less/combobox.less
+3
-1
No files found.
apps/common/main/lib/component/ComboBoxFonts.js
View file @
76105ffb
...
...
@@ -158,10 +158,9 @@ define([
if
(
e
.
keyCode
==
Common
.
UI
.
Keys
.
UP
||
e
.
keyCode
==
Common
.
UI
.
Keys
.
DOWN
)
{
_
.
delay
(
function
()
{
var
selected
=
me
.
cmpEl
.
find
(
'
ul li.selected a
'
);
if
(
selected
.
length
<=
0
)
selected
=
me
.
cmpEl
.
find
(
'
ul li:not(.divider):first a
'
);
var
selected
=
(
e
.
keyCode
==
Common
.
UI
.
Keys
.
DOWN
)
?
me
.
cmpEl
.
find
(
'
ul li.selected
'
).
nextAll
(
'
li:not(.divider)
'
)
:
me
.
cmpEl
.
find
(
'
ul li.selected
'
).
prevAll
(
'
li:not(.divider)
'
);
selected
=
(
selected
.
length
>
0
)
?
selected
.
eq
(
0
)
:
((
e
.
keyCode
==
Common
.
UI
.
Keys
.
DOWN
)
?
me
.
cmpEl
.
find
(
'
ul li:not(.divider):first
'
)
:
me
.
cmpEl
.
find
(
'
ul li:not(.divider):last
'
));
selected
=
selected
.
find
(
'
a
'
);
me
.
_skipInputChange
=
true
;
selected
.
focus
();
...
...
apps/common/main/resources/less/combobox.less
View file @
76105ffb
...
...
@@ -67,7 +67,9 @@
color: @dropdown-link-active-color;
&:hover,
&.hover {
&.hover,
&:focus,
&.focus {
background-color: @primary;
}
}
...
...
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