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
b7edf3bd
Commit
b7edf3bd
authored
Apr 30, 2021
by
Piotr Gawron
Browse files
checkbox update does not rtefresh the whole windows
parent
06ebf63e
Pipeline
#40773
passed with stage
in 23 minutes and 47 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
b7edf3bd
...
...
@@ -12,6 +12,7 @@ minerva (16.0.0~alpha.2) stable; urgency=medium
*
Small
improvement
:
search
results
are
group
by
diagram
(#
1451
)
*
Small
improvement
:
"Failed to fetch"
errors
are
reported
in
a
way
that
suggest
retrying
before
submitting
error
report
(#
738
)
*
Small
improvement
:
reverse
search
pop
-
up
reorganized
(#
1366
)
*
Bug
fix
:
arrows
without
a
"process"
box
had
an
irregular
empty
space
in
their
lines
(#
1471
)
*
Bug
fix
:
when
selecting
drug
in
the
alias
window
the
input
text
is
updated
...
...
frontend-js/src/main/js/map/window/AbstractInfoWindow.js
View file @
b7edf3bd
"
use strict
"
;
var
$
=
require
(
'
jquery
'
);
var
Promise
=
require
(
"
bluebird
"
);
var
logger
=
require
(
'
../../logger
'
);
...
...
@@ -468,7 +469,19 @@ AbstractInfoWindow.prototype._createTargetInfoDiv = function (params) {
checkbox
.
type
=
"
checkbox
"
;
checkbox
.
checked
=
self
.
isOverlayFullView
(
overlay
.
getName
());
checkbox
.
onclick
=
function
()
{
return
self
.
setOverlayFullView
(
overlay
.
getName
(),
this
.
checked
).
catch
(
GuiConnector
.
alert
);
var
ie
=
new
IdentifiedElement
(
self
.
alias
);
result
.
removeChild
(
table
);
var
messageImg
=
Functions
.
createElement
({
type
:
"
img
"
,
src
:
'
resources/images/icons/ajax-loader.gif
'
});
result
.
appendChild
(
messageImg
);
return
overlay
.
getDetailDataByIdentifiedElement
(
ie
,
this
.
checked
).
then
(
function
(
data
)
{
table
=
self
.
_createTableForTargetDiv
(
data
,
overlay
);
result
.
appendChild
(
table
);
}).
finally
(
function
()
{
result
.
removeChild
(
messageImg
);
})
};
checkboxDiv
.
appendChild
(
checkbox
);
...
...
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