mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where keyboard shortcut for context menu is not working when using Firefox on CentOS7. Fixes #4906
This commit is contained in:
committed by
Akshay Joshi
parent
2522c8c9e2
commit
022cf3d93c
@@ -48,3 +48,4 @@ Bug fixes
|
||||
| `Issue #4850 <https://redmine.postgresql.org/issues/4850>`_ - Fixed an issue where Datetimepicker control opens when clicking on the label.
|
||||
| `Issue #4895 <https://redmine.postgresql.org/issues/4895>`_ - Fixed potential issue in reset function for nested objects.
|
||||
| `Issue #4896 <https://redmine.postgresql.org/issues/4896>`_ - Fixed an issue where escape key not working to close the open/save file dialog.
|
||||
| `Issue #4906 <https://redmine.postgresql.org/issues/4906>`_ - Fixed an issue where keyboard shortcut for context menu is not working when using Firefox on CentOS7.
|
||||
@@ -307,8 +307,9 @@ _.extend(pgBrowser.keyboardNavigation, {
|
||||
},
|
||||
bindContextMenu: function(event) {
|
||||
const tree = this.getTreeDetails();
|
||||
const left = $(event.srcElement).find('.aciTreeEntry').position().left + 70;
|
||||
const top = $(event.srcElement).find('.aciTreeEntry').position().top + 70;
|
||||
let _srcElement = event.srcElement || event.target;
|
||||
const left = $(_srcElement).find('.aciTreeEntry').position().left + 70;
|
||||
const top = $(_srcElement).find('.aciTreeEntry').position().top + 70;
|
||||
|
||||
tree.t.blur(tree.i);
|
||||
$('#tree').trigger('blur');
|
||||
|
||||
Reference in New Issue
Block a user