mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-06 00:34:00 +01:00
No longer dealing with opening thru display
We are no longer setting display block here, this is now done once we have injected the DOM elems into the tree at that dir. Once that is done, we set the display to block. We still set none here when collapsing. This avoids a flash of possibly unsorted files.
This commit is contained in:
@@ -388,8 +388,7 @@ var ICEcoder = {
|
||||
var d = node.style.display=="none";
|
||||
if (d) {
|
||||
top.ICEcoder.filesFrame.contentWindow.frames['fileControl'].location.href = "lib/get-branch.php?location="+dir.childNodes[1].id;
|
||||
}
|
||||
node.style.display = d ? "block" : "none";
|
||||
} else {node.style.display = "none"}
|
||||
dir.parentNode.className=dir.className = d ? "pft-directory dirOpen" : "pft-directory";
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user