projects
/
MosaicDocument.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Utilisation de l'id du nœud racine, plutôt que l'id de l'objet.
[MosaicDocument.git]
/
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
(file)
--- 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 = ".";
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";
var stateImg = document.createElement("IMG");
stateImg.src = this.baseImgUrl + "pl.gif";
stateImg.border = "0";