diff options
-rw-r--r-- | index.html | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2156,9 +2156,13 @@ var style = stylesheet.styles[name]; if(style != null && style['image'] != null) { var label = '<img src="' + style['image'] + '" height="80" width="80">'; + style['label'] = label; style['image'] = null; node.setAttribute('label', label); } + if(style!= null && style['label'] != null) { + node.setAttribute('label', style['label']); + } node.setAttribute('parent', temp.getAttribute('id')); var i, arr = []; |