fixed bug with undefined size on root directory of Cloud Commander

This commit is contained in:
coderaiser 2012-07-18 18:01:07 +03:00
parent 9f35478128
commit a575321084

View file

@ -159,7 +159,7 @@ CloudFunc.convertPermissionsToNumberic= function(pPerm_s){
*/
CloudFunc.getShortedSize=function(pSize){
/* if pSize=0 - return it */
if(!pSize)return pSize;
if(!pSize || (pSize != pSize-0))return pSize;
/* Константы размеров, что используются
* внутри функции