minor changes

This commit is contained in:
coderaiser 2012-07-23 10:27:43 -04:00
parent 88844600c3
commit b9e935a1bd

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);
};