diff --git a/files.php b/files.php index 8b3b631..5e532dd 100644 --- a/files.php +++ b/files.php @@ -31,7 +31,7 @@ if ($serverType=="Linux") { diff --git a/lib/get-tree.php b/lib/get-branch.php similarity index 100% rename from lib/get-tree.php rename to lib/get-branch.php diff --git a/lib/ice-coder.js b/lib/ice-coder.js index 3bf1325..13d4c2a 100644 --- a/lib/ice-coder.js +++ b/lib/ice-coder.js @@ -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";