rename get-tree to get-branch

This commit is contained in:
Matt Pass
2013-02-26 16:48:56 +00:00
parent 86735ac3b7
commit 29981dfd52
3 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ if ($serverType=="Linux") {
</a>
</li>
<?php
include("lib/get-tree.php");
include("lib/get-branch.php");
?>
</ul>

View File

@@ -383,11 +383,11 @@ var ICEcoder = {
var node = dir.parentNode;
if (node.nextSibling) {node = node.nextSibling};
if (load) {
top.ICEcoder.filesFrame.contentWindow.frames['fileControl'].location.href = "lib/get-tree.php?location="+dir.childNodes[1].id;
top.ICEcoder.filesFrame.contentWindow.frames['fileControl'].location.href = "lib/get-branch.php?location="+dir.childNodes[1].id;
} else if (node && node.tagName=="UL") {
var d = node.style.display=="none";
if (d) {
top.ICEcoder.filesFrame.contentWindow.frames['fileControl'].location.href = "lib/get-tree.php?location="+dir.childNodes[1].id;
top.ICEcoder.filesFrame.contentWindow.frames['fileControl'].location.href = "lib/get-branch.php?location="+dir.childNodes[1].id;
}
node.style.display = d ? "block" : "none";
dir.parentNode.className=dir.className = d ? "pft-directory dirOpen" : "pft-directory";