projects
/
MosaicDocument.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Youpi : conservation de l'état de l'arborescence, même dans le cas du repliement.
[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
cd0114c
..
cda2925
100644
(file)
--- a/
default_blocks/tree_block_script.js
+++ b/
default_blocks/tree_block_script.js
@@
-82,6
+82,8
@@
TreeMaker.prototype.refreshTree = function (evt) {
this._lastAniImg = target;
var tm = this;
window.setTimeout(function(){tm._removeLastAniImg();}, 500);
this._lastAniImg = target;
var tm = this;
window.setTimeout(function(){tm._removeLastAniImg();}, 500);
+ document.cookie = encodeURIComponent(this.root.id) + '-state=' + encodeURIComponent(this.getExpansion()) +
+ ';path=/';
break;
} // end switch (imgId)
disableDefault(evt);
break;
} // end switch (imgId)
disableDefault(evt);