mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Set proper focus on tab navigation for file manager dialog. Fixes #5107
- Show focus when the Tab key is pressed - Pressing the Enter key on C:\ drive does not open it on Windows
This commit is contained in:
committed by
Akshay Joshi
parent
26cdda090e
commit
c9500a5122
@@ -748,8 +748,8 @@ define([
|
||||
return;
|
||||
if ($(this).find('.fa-file-text-o').length)
|
||||
$(this).click();
|
||||
// If folder then first select and then double click to opn folder
|
||||
else if ($(this).find('.fa-folder-open').length) {
|
||||
// If folder then first select and then double click to open folder/drive
|
||||
else if ($(this).find('.fa-folder-open').length || $(this).find('.fa-hdd-o').length) {
|
||||
$(this).click();
|
||||
setTimeout(() => { $(self).trigger('dblclick'); }, 10);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user