Update client.js

This commit is contained in:
coderaiser 2012-08-14 18:07:57 +03:00
parent 58c2920702
commit ab21cda415

View file

@ -232,22 +232,22 @@ CloudClient.Util = (function(){
if(pParams_o.func)
if(typeof lFunc === 'function'){
element.onload = lFunc;
/*
element.onreadystatechange = function(){
if(this.readyState === 'loaded')
lFunc();
}; /* ie */
};*/ /* ie */
/* if object - then onload or onerror */
}else if (typeof lFunc === 'object') {
if(lFunc.onload &&
typeof lFunc.onload === 'function'){
element.onload = lFunc.onload;
/*
element.onreadystatechange = function(){
if(this.readyState === 'loaded')
lFunc();
}; /* ie */
};*/ /* ie */
}
}