I have a problem with an exception nette-ajax extension in IE8. Does anybody know, what does it mean and how fix it?
Asked
Active
Viewed 145 times
0
-
1Please provide code sample and include error in the question. [SO how to ask](http://stackoverflow.com/help/how-to-ask) – Maciej Lach Aug 27 '15 at 08:01
-
seems that you are loading nette.ajax.js or some of its extensions twice, read the error message in browser :) btw, does it work in other browsers? – amik Sep 15 '15 at 06:51
1 Answers
0
this.ext = function (name, callbacks, context) {
if (typeof name === 'object') {
inner.ext(name, callbacks);
} else if (callbacks === undefined) {
return inner.contexts[name];
} else if (!callbacks) {
$.each(['init', 'load', 'prepare', 'before', 'start', 'success', 'complete', 'error'], function (index, event) {
inner.on[event][name] = undefined;
});
inner.contexts[name] = undefined;
} else if (typeof name === 'string' && inner.contexts[name] !== undefined) {
throw "Cannot override already registered nette-ajax extension '" + name + "'.";
} else {
inner.ext(callbacks, context, name);
}
return this;
};
in console.log(name) is result redirect

Meryjordan
- 1
- 1