Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GIP RENATER
switch-wayf
Commits
5a26ee51
Commit
5a26ee51
authored
Jan 26, 2012
by
haemmer
Browse files
Click on list entry also focuses submit button
parent
37712e16
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/improvedDropDown.js
View file @
5a26ee51
...
...
@@ -375,7 +375,10 @@ function populateListItem(newListControl, optionItem) {
$
(
this
).
addClass
(
'
idd_listItem_Hover
'
);
});
newListItem
.
mouseout
(
function
()
{
$
(
this
).
removeClass
(
'
idd_listItem_Hover
'
);
});
newListItem
.
click
(
function
()
{
selectItem
(
$
(
this
),
true
,
true
,
false
);
});
newListItem
.
click
(
function
()
{
selectItem
(
$
(
this
),
true
,
true
,
false
);
$
(
'
[type="submit"]
'
).
focus
();
});
}
else
{
newListItem
.
addClass
(
'
idd_listItem_Disabled
'
);
...
...
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