Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Created Unassigned: jQuery.Start.debug.js createDelegate not compatible with IE8 [27749]

$
0
0
The following code does not work as intended on IE8
```
function createDelegate(object, ev, method) {
var fn = function () {
var args = [];
args.push(ev);
if (arguments) {
for (var a in arguments) {
args.push(arguments[a]);
}
}
return method.apply(object, args);
};

return fn;
}
```

Replace with
```
function createDelegate(object, ev, method) {
var fn = function () {
var args = [];
args.push(ev);
if (arguments) {
for (var i = 0; i < arguments.length; i++) {
args.push(arguments[i]);
}
}
return method.apply(object, args);
};

return fn;
}
```

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>