minor changes

This commit is contained in:
coderaiser 2012-07-23 10:27:43 -04:00
parent 760f58238e
commit 35e3f23ec3

View file

@ -178,7 +178,8 @@ CloudFunc.getShortedSize = function(pSize){
*/
CloudFunc.getShortedName = function(pName, pPutInTegs){
return (pName.length > CloudFunc.SHORTNAMELENGTH ?
(pName.substr(pName,16) + '..'):
(pName.substr(pName,
CloudFunc.SHORTNAMELENGTH) + '..'):
pName);
};