Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
0525b611
Commit
0525b611
authored
Aug 30, 2017
by
Piotr Gawron
Browse files
javascript listener on html elements in left panel info dialog are working now
parent
2b66e7fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend-js/src/main/js/gui/leftPanel/LeftPanel.js
View file @
0525b611
...
...
@@ -185,7 +185,8 @@ LeftPanel.prototype.showElementDetails = function(element) {
if
(
element
!==
undefined
&&
(
openTabName
.
indexOf
(
"
SEARCH
"
)
===
-
1
||
searchTabName
!==
"
GENERIC
"
))
{
var
model
=
self
.
getMap
().
getSubmapById
(
element
.
getModelId
()).
getModel
();
return
model
.
getByIdentifiedElement
(
element
,
true
).
then
(
function
(
bioEntity
)
{
div
.
innerHTML
=
self
.
prepareElementDetailsContent
(
bioEntity
).
innerHTML
;
div
.
innerHTML
=
""
;
div
.
appendChild
(
self
.
prepareElementDetailsContent
(
bioEntity
));
$
(
div
).
dialog
(
"
open
"
);
$
(
div
).
dialog
(
"
option
"
,
"
title
"
,
self
.
getElementTitle
(
bioEntity
));
$
(
div
).
scrollTop
(
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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