Nextrek
Diff Revisions
770
vs
771
for /legal-map/js/tree.js
|
@@ -106,6 +106,7 @@ |
106 |
106 |
|
htmlToAppend += 'cat="'+(i+1)+'" '; |
107 |
107 |
|
htmlToAppend += 'leaf="'+((nodes[i].is_leaf) ? 1 : 0)+'" '; |
108 |
108 |
|
htmlToAppend += 'class="level-node-1 cat-node-'+(i+1)+'">'; |
|
109 |
+ |
htmlToAppend += "<div class='cat-icon'></div>"; |
109 |
110 |
|
htmlToAppend += "<div class='node-container'><div class='node-text'>"+nodes[i].ramodescrizione+"</div></div>"+"</li>"; |
110 |
111 |
|
htmlToAppend += (!nodes[i].is_leaf) ? "<ul id='list-id-"+nodes[i].id+"' class='level-list-2' style='display:none;'></ul>" : ""; |
111 |
112 |
|
|