Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
0a646cd3
Commit
0a646cd3
authored
Dec 18, 2019
by
Piotr Gawron
Browse files
when there is no background don't check if overlay is nested
parent
0a4b8aff
Pipeline
#17940
passed with stage
in 20 minutes and 32 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
0a646cd3
minerva
(
14.0.6
)
stable
;
urgency
=
medium
*
Bug
fix
:
opening
map
with
no
background
overlays
and
search
request
in
url
provides
proper
error
message
(#
1046
)
minerva
(
14.0.5
)
stable
;
urgency
=
medium
*
Bug
fix
:
copy
-
paste
of
genetic
-
variant
data
overlay
into
Add
overlay
content
dialog
could
crash
upload
(#
1040
)
...
...
@@ -19,7 +23,6 @@ minerva (14.0.5) stable; urgency=medium
* Bug fix: CLEAR button disappears after legend, comment checkboxes when
plugin tab used to much space (#976)
-- Piotr Gawron <piotr.gawron@uni.lu> Tue, 03 Dec 2019 12:00:00 +0200
minerva (14.0.4) stable; urgency=high
...
...
frontend-js/src/main/js/map/overlay/SearchDbOverlay.js
View file @
0a646cd3
...
...
@@ -279,7 +279,7 @@ SearchDbOverlay.prototype.searchByCoordinates = function (params) {
if
(
elements
.
length
===
0
)
{
return
undefined
;
}
else
{
if
(
self
.
getMap
().
getBackgroundDataOverlay
().
getName
()
===
nestedOverlay
)
{
if
(
self
.
getMap
().
getBackgroundDataOverlay
()
!==
null
&&
self
.
getMap
().
getBackgroundDataOverlay
()
.
getName
()
===
nestedOverlay
)
{
return
self
.
_getFirstVisibleParentOrObject
(
elements
[
0
],
zoom
-
model
.
getMinZoom
(),
coordinates
);
}
else
{
return
elements
[
0
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment