From 186ae6ca52cf02d9d706ea84e56f2e8fa7818777 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 23 Jul 2012 17:25:09 +0300 Subject: [PATCH] fixed bug with setting current file, if a couple of files was with the same name on 16-chars, after going up on folders, current file would be last. --- client.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client.js b/client.js index 2213110d..a0f2bf3b 100644 --- a/client.js +++ b/client.js @@ -286,6 +286,8 @@ CloudClient._currentToParent = (function(pDirName){ if(lCurrentFile.length>0)lCurrentFile[0].className=''; lLi[i].className=CloudClient.CURRENT_FILE; + + break; } } });