X-Git-Url: https://scm.cri.mines-paristech.fr/git/MosaicDocument.git/blobdiff_plain/1aed5a5073041e18e085d5f03b320efa7e9a0f71..d3ae9b28834e7e43b84fb81b06fb5ace521855e8:/default_blocks/tree_block_script.js 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";