mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where escape key not working to close the open/save file dialog. Fixes #4896
This commit is contained in:
parent
475a717cd6
commit
2522c8c9e2
@ -46,4 +46,5 @@ Bug fixes
|
||||
| `Issue #4835 <https://redmine.postgresql.org/issues/4835>`_ - Fixed an issue where psql of v12 throwing "symbol not found" error while running Maintenance and Import/Export.
|
||||
| `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 #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.
|
@ -2256,7 +2256,7 @@ define('tools.querytool', [
|
||||
* loses focus and events don't work.
|
||||
*/
|
||||
$(window).on('keydown', (e)=>{
|
||||
if(self.gridView.keyAction) {
|
||||
if(($('.sql-editor').find(e.target).length !== 0 || e.target == $('body.wcDesktop')[0]) && self.gridView.keyAction) {
|
||||
self.gridView.keyAction(e);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user