X-Git-Url: https://svn.cri.ensmp.fr/git/MosaicDocument.git/blobdiff_plain/1aed5a5073041e18e085d5f03b320efa7e9a0f71..475bb3cd9bd15fe1dd3e03f0ab26cc7c343a2702:/default_blocks/tree_block_script.js?ds=sidebyside 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";