Silence some warnings, mostly about attributes

This commit is contained in:
Nathan Gray
2012-07-23 23:54:16 +00:00
parent 0fa5e2ee49
commit fa69637b82
10 changed files with 72 additions and 4 deletions

View File

@ -137,6 +137,10 @@ function et2_checkType(_val, _type, _attr, _cname)
return _val;
}
// Handle some less common possibilities
// Maybe a split on an empty string
if(typeof _val == "object" && jQuery.isEmptyObject(_val)) return "";
return _err();
}