minor changes

This commit is contained in:
coderaiser 2012-07-27 04:05:43 -04:00
parent 6d5ffc2a27
commit c316bf2c6b

View file

@ -650,13 +650,8 @@ CloudClient._anyload = function(pParams_o)
element.onload = lFunc;
/* if object - then onload or onerror */
}else if (typeof lFunc === 'object') {
if(lFunc.onload &&
typeof lFunc.onload === 'function')
element.onload = lFunc.onload;
if(lFunc.onerror &&
typeof lFunc.onerror === 'function')
element.onerror = lFunc.onerror;
if(lFunc.onload)element.onload = lFunc.onload;
if(lFunc.onerror)element.onerror = lFunc.onerror;
}
if(pParams_o.style){