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
6d981df4
Commit
6d981df4
authored
Aug 24, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Bug 32997.
parent
2c3891c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
apps/common/main/lib/component/ComboBox.js
apps/common/main/lib/component/ComboBox.js
+3
-1
No files found.
apps/common/main/lib/component/ComboBox.js
View file @
6d981df4
...
...
@@ -312,6 +312,8 @@ define([
me
.
_skipInputChange
=
true
;
me
.
cmpEl
.
find
(
'
ul li:first a
'
).
focus
();
},
10
);
}
else
if
(
e
.
keyCode
==
Common
.
UI
.
Keys
.
RETURN
&&
$
(
e
.
target
).
val
()
===
me
.
lastValue
){
this
.
_input
.
trigger
(
'
change
'
,
{
reapply
:
true
});
}
else
me
.
_skipInputChange
=
false
;
},
...
...
@@ -333,7 +335,7 @@ define([
var
val
=
$
(
e
.
target
).
val
(),
record
=
{};
if
(
this
.
lastValue
===
val
)
{
if
(
this
.
lastValue
===
val
&&
!
(
extra
&&
extra
.
reapply
)
)
{
if
(
extra
&&
extra
.
onkeydown
)
this
.
trigger
(
'
combo:blur
'
,
this
,
e
);
return
;
...
...
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