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
Devrim Gunyel
core
Commits
ad512e65
Commit
ad512e65
authored
Aug 23, 2018
by
Piotr Gawron
Browse files
element tree contains definition of BioEntity class
parent
314788d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend-js/src/main/js/Configuration.js
View file @
ad512e65
...
...
@@ -408,7 +408,11 @@ Configuration.prototype.getElementTypeTree = function () {
var
treeNodes
=
{
"
lcsb.mapviewer.model.map.BioEntity
"
:
{
text
:
"
BioEntity
"
,
children
:
[]
children
:
[],
data
:
{
className
:
"
lcsb.mapviewer.model.map.BioEntity
"
,
name
:
"
BioEntity
"
}
}
};
...
...
@@ -438,7 +442,7 @@ Configuration.prototype.getElementTypeTree = function () {
for
(
var
treeNodeName
in
treeNodes
)
{
if
(
treeNodes
.
hasOwnProperty
(
treeNodeName
))
{
var
treeNode
=
treeNodes
[
treeNodeName
];
if
(
treeNode
.
data
!==
undefined
)
{
if
(
treeNode
.
data
!==
undefined
&&
treeNode
.
data
.
parentClass
!==
undefined
)
{
var
parentNode
=
treeNodes
[
treeNode
.
data
.
parentClass
];
if
(
parentNode
.
data
===
undefined
||
parentNode
.
data
.
name
!==
"
Compartment
"
)
{
parentNode
.
children
.
push
(
treeNode
);
...
...
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