From 2e601a4ccc32c200143a0bbc0006f5f1bf2c0b42 Mon Sep 17 00:00:00 2001 From: Andrey Grinenko Date: Mon, 16 Feb 2015 13:15:16 +0300 Subject: [PATCH] do not add openCloseDir onclick handler (which loads folder contents) for files. Files are not folders and this handler only causes problems overlapping with doubleClick handler sometimes. --- lib/get-branch.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/get-branch.php b/lib/get-branch.php index dd6cdae..d451991 100644 --- a/lib/get-branch.php +++ b/lib/get-branch.php @@ -152,7 +152,15 @@ for ($i=0;$i        ".xssClean(basename($fileFolderName),"html")." "; + echo "
  •         ".xssClean(basename($fileFolderName),"html")." "; $thisPermVal = $serverType=="Linux" ? substr(sprintf('%o', fileperms($docRoot.$iceRoot.$fileFolderName)), -3) : ''; $permColors = $thisPermVal == 777 ? 'background: #800; color: #eee' : 'color: #888'; echo '';