fixed bug in checkExtension function

This commit is contained in:
coderaiser 2012-07-25 09:43:36 -04:00
parent 1f541d13e6
commit 751c9c11ea

View file

@ -290,7 +290,7 @@ CloudFunc.checkExtension=function(pName,pExt)
return lExtSub===pExt.length;
}else if(typeof pExt === 'object' &&
pName.length){
pExt.length){
for(var i=0; i < pName.length; i++)
if(this.checkExtension(pName, pExt[i]));
return true;