mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 11:37:14 +00:00
Fix project selector focus by explicitly targeting the first selected item (#42440).
Patch by [Agileware]Haruka Asakura (user:asakura-agileware). git-svn-id: https://svn.redmine.org/redmine/trunk@23558 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e02d265f2c
commit
ed1370a40a
@ -775,7 +775,7 @@ $(document).ready(function(){
|
||||
drdn.addClass("expanded");
|
||||
if ($(this).parent('#project-jump').length) {
|
||||
selected = $('.drdn-items a.selected'); // Store selected project
|
||||
selected.focus(); // Calling focus to scroll to selected project
|
||||
selected.first().focus(); // Calling focus to scroll to selected project
|
||||
}
|
||||
if (!isMobile()) {
|
||||
drdn.find(".autocomplete").focus();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user