Fixes #8353. Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6.
This commit is contained in:
parent
e405419fb7
commit
cacea6f7e7
|
@ -843,6 +843,12 @@ jQuery.extend({
|
|||
callbacks.shift().apply( context, args );
|
||||
}
|
||||
}
|
||||
// We have to add a catch block for
|
||||
// IE prior to 8 or else the finally
|
||||
// block will never get executed
|
||||
catch (e) {
|
||||
throw e;
|
||||
}
|
||||
finally {
|
||||
fired = [ context, args ];
|
||||
firing = 0;
|
||||
|
|
Loading…
Reference in a new issue