From 29981dfd527922fb91462caabacfac5b44bcbbe5 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Tue, 26 Feb 2013 16:48:56 +0000 Subject: [PATCH] rename get-tree to get-branch --- files.php | 2 +- lib/{get-tree.php => get-branch.php} | 0 lib/ice-coder.js | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename lib/{get-tree.php => get-branch.php} (100%) 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";