From 02565fa3b8a4f4ac91e2aca21b4922b4ea75747f Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Fri, 21 Feb 2014 09:04:57 +0000 Subject: [PATCH] Getting rid of rightClickedFile Now using last item on selectedFiles array --- lib/file-control.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/file-control.php b/lib/file-control.php index b1854a1..fd6b2de 100644 --- a/lib/file-control.php +++ b/lib/file-control.php @@ -38,7 +38,7 @@ if ($_GET['action']=="load") { } if (strpos($finfo,"text")===0 || strpos($finfo,"empty")!==false) { echo 'fileType="text";'; - echo 'top.ICEcoder.shortURL = top.ICEcoder.rightClickedFile = top.ICEcoder.thisFileFolderLink = "'.$fileLoc."/".$fileName.'";'; + echo 'top.ICEcoder.shortURL = top.ICEcoder.thisFileFolderLink = "'.$fileLoc."/".$fileName.'";'; $loadedFile = toUTF8noBOM(file_get_contents($file,false,$context),true); echo '","",str_replace("&","&",$loadedFile)).'