mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-25 18:20:20 -06:00
Prevent the geometry viewer grabbing key presses when not in focus under Firefox, IE and Edge. Fixes #4255
This commit is contained in:
parent
9a00a8a60b
commit
d90136d93d
@ -13,4 +13,5 @@ New features
|
||||
Bug fixes
|
||||
*********
|
||||
|
||||
| `Bug #4255 <https://redmine.postgresql.org/issues/4255>`_ - Prevent the geometry viewer grabbing key presses when not in focus under Firefox, IE and Edge.
|
||||
| `Bug #4320 <https://redmine.postgresql.org/issues/4320>`_ - Fix issue where SSH tunnel connection using password is failing, it's regression of Master Password.
|
@ -71,7 +71,7 @@
|
||||
"jquery-contextmenu": "^2.8.0",
|
||||
"jquery-ui": "^1.12.1",
|
||||
"json-bignumber": "^1.0.1",
|
||||
"leaflet": "^1.4.0",
|
||||
"leaflet": "^1.5.1",
|
||||
"moment": "^2.24.0",
|
||||
"moment-timezone": "^0.5.23",
|
||||
"mousetrap": "^1.6.3",
|
||||
|
@ -45,6 +45,8 @@ let GeometryViewer = {
|
||||
geometry_viewer_panel.on(wcDocker.EVENT.VISIBILITY_CHANGED, function (visible) {
|
||||
if (visible) {
|
||||
self.map_component.resizeMap();
|
||||
} else {
|
||||
self.map_component.loseFocus();
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -186,6 +188,10 @@ function initMapComponent() {
|
||||
vectorLayer.clearLayers();
|
||||
},
|
||||
|
||||
'loseFocus': function() {
|
||||
lmap.fire('blur');
|
||||
},
|
||||
|
||||
'renderMap': function (dataObj) {
|
||||
let geoJSONs = dataObj.geoJSONs,
|
||||
SRID = dataObj.selectedSRID,
|
||||
|
@ -2186,9 +2186,10 @@ code-point-at@^1.0.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
|
||||
|
||||
codemirror@^5.44.0:
|
||||
version "5.44.0"
|
||||
resolved "https://registry.yarnpkg.com/codemirror/-/codemirror-5.44.0.tgz#80dc2a231eeb7aab25ec2405cdca37e693ccf9cc"
|
||||
codemirror@^5.47.0:
|
||||
version "5.47.0"
|
||||
resolved "https://registry.yarnpkg.com/codemirror/-/codemirror-5.47.0.tgz#c13a521ae5660d3acc655af252f4955065293789"
|
||||
integrity sha512-kV49Fr+NGFHFc/Imsx6g180hSlkGhuHxTSDDmDHOuyln0MQYFLixDY4+bFkBVeCEiepYfDimAF/e++9jPJk4QA==
|
||||
|
||||
collection-visit@^1.0.0:
|
||||
version "1.0.0"
|
||||
@ -5110,9 +5111,10 @@ lead@^1.0.0:
|
||||
dependencies:
|
||||
flush-write-stream "^1.0.2"
|
||||
|
||||
leaflet@^1.4.0:
|
||||
version "1.4.0"
|
||||
resolved "https://registry.yarnpkg.com/leaflet/-/leaflet-1.4.0.tgz#d5f56eeb2aa32787c24011e8be4c77e362ae171b"
|
||||
leaflet@^1.5.1:
|
||||
version "1.5.1"
|
||||
resolved "https://registry.yarnpkg.com/leaflet/-/leaflet-1.5.1.tgz#9afb9d963d66c870066b1342e7a06f92840f46bf"
|
||||
integrity sha512-ekM9KAeG99tYisNBg0IzEywAlp0hYI5XRipsqRXyRTeuU8jcuntilpp+eFf5gaE0xubc9RuSNIVtByEKwqFV0w==
|
||||
|
||||
levn@^0.3.0, levn@~0.3.0:
|
||||
version "0.3.0"
|
||||
|
Loading…
Reference in New Issue
Block a user