diff options
author | jiteshjha | 2016-07-11 13:06:19 +0530 |
---|---|---|
committer | jiteshjha | 2016-07-11 13:06:19 +0530 |
commit | 7ba307bafe45590dc164feff98f00086077e26f3 (patch) | |
tree | 327c10b0313be3b21d8f19ee7e890307123aac8a | |
parent | 2b8ff4319806419bf796a2b40ade9df6676cde18 (diff) | |
download | xcos-on-web-7ba307bafe45590dc164feff98f00086077e26f3.tar.gz xcos-on-web-7ba307bafe45590dc164feff98f00086077e26f3.tar.bz2 xcos-on-web-7ba307bafe45590dc164feff98f00086077e26f3.zip |
Data Structures style error
-rw-r--r-- | index.html | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -790,7 +790,12 @@ { var stylesheet = graph.getStylesheet(); var style = stylesheet.styles[cell.value.getAttribute('style')]; - var displayedLabel = style['displayedLabel']; + var displayedLabel = null; + + if(style != null) { + displayedLabel = style['displayedLabel']; + } + if(displayedLabel != null) { var displayParameter = cell.blockInstance.instance.displayParameter; for(i in displayParameter) { |