fixed bug with length that equal to SHORTNAMELENGTH (current folder did not set up correctly)

This commit is contained in:
coderaiser 2012-07-24 17:09:54 +03:00
parent c9eb3861d1
commit e545e73138

View file

@ -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;
/* если уже выделен какой-то файл, снимаем