Fixed an issue where keyboard shortcut for context menu is not working when using Firefox on CentOS7. Fixes #4906
parent
2522c8c9e2
commit
022cf3d93c
|
|
@ -47,4 +47,5 @@ Bug fixes
|
|||
| `Issue #4845 <https://redmine.postgresql.org/issues/4845>`_ - Fixed potential error in the properties dialog for the Code tab.
|
||||
| `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 #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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue