From e545e731380d1d01bec9ee859beb7a5e1305edb9 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 24 Jul 2012 17:09:54 +0300 Subject: [PATCH] fixed bug with length that equal to SHORTNAMELENGTH (current folder did not set up correctly) --- client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.js b/client.js index 7e134b51..53ad6d97 100644 --- a/client.js +++ b/client.js @@ -284,7 +284,7 @@ CloudClient._currentToParent = (function(pDirName){ /* if name length is big * then compare full names */ - if(pDirName.length >= CloudFunc.SHORTNAMELENGTH && + if(pDirName.length > CloudFunc.SHORTNAMELENGTH && lA[0].title !== pDirName) continue; /* если уже выделен какой-то файл, снимаем