Commit cacea6f7 authored by jaubourg's avatar jaubourg

Fixes #8353. Adds a catch block in resolveWith so that the finally block gets...

Fixes #8353. Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6.
parent e405419f
...@@ -843,6 +843,12 @@ jQuery.extend({ ...@@ -843,6 +843,12 @@ jQuery.extend({
callbacks.shift().apply( context, args ); 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 { finally {
fired = [ context, args ]; fired = [ context, args ];
firing = 0; firing = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment