X-Git-Url: https://scm.cri.mines-paristech.fr/git/MosaicDocument.git/blobdiff_plain/545e024b40032a938384466e31a4fa637b70b01a..d3ae9b28834e7e43b84fb81b06fb5ace521855e8:/default_blocks/tree_block_script.js?ds=inline diff --git a/default_blocks/tree_block_script.js b/default_blocks/tree_block_script.js index c057e28..228d405 100644 --- a/default_blocks/tree_block_script.js +++ b/default_blocks/tree_block_script.js @@ -157,6 +157,7 @@ TreeMaker.prototype.importRows = function(req, parentRow) { if (row.getAttribute("state") == "-1") { var stateLink = document.createElement("A"); stateLink.href = "."; + stateLink.setAttribute("name", row.getAttribute("name")); var stateImg = document.createElement("IMG"); stateImg.src = this.baseImgUrl + "pl.gif"; stateImg.border = "0";