File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
/*!
2
2
* jQuery Form Plugin
3
- * version: 3.13 (29 -JUL-2012)
3
+ * version: 3.14 (30 -JUL-2012)
4
4
* @requires jQuery v1.3.2 or later
5
5
*
6
6
* Examples and documentation at: http://malsup.com/jquery/form/
@@ -317,11 +317,10 @@ $.fn.ajaxSubmit = function(options) {
317
317
log ( 'aborting upload... ' + e ) ;
318
318
this . aborted = 1 ;
319
319
// #214
320
- if ( io . contentWindow . document . execCommand ) { // IE browsers
321
- io . contentWindow . document . execCommand ( 'Stop' ) ;
322
- }
323
- else if ( io . contentWindow . stop ) { // other browsers
324
- io . contentWindow . stop ( ) ;
320
+ if ( io . contentWindow . document . execCommand ) {
321
+ try { // #214
322
+ io . contentWindow . document . execCommand ( 'Stop' ) ;
323
+ } catch ( ignore ) { }
325
324
}
326
325
$io . attr ( 'src' , s . iframeSrc ) ; // abort op in progress
327
326
xhr . error = e ;
You can’t perform that action at this time.
0 commit comments