PDA

View Full Version : IE8 invalid argument ext-all-debug 4276



jframier
16 Feb 2011, 10:30 AM
Hi all

getting invalid argument only with IE on line 4276 style == 'opacity' ? when the prop is an object and has more than 1 value



setStyle : function(prop, value){
var tmp, style;

if (typeof prop != 'object') {
tmp = {};
tmp[prop] = value;
prop = tmp;
}
for (style in prop) {
value = prop[style];
style == 'opacity' ?
this.setOpacity(value) :
this.dom.style[chkCache(style)] = value;
}
return this;
},



See the debug.jpg the variables values
24711

Thank in advance