File tree 1 file changed +9
-8
lines changed
1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 665
665
// if using the $.param format that allows for multiple values with the same name
666
666
if ( $ . isPlainObject ( s . extraData [ n ] ) && s . extraData [ n ] . hasOwnProperty ( 'name' ) && s . extraData [ n ] . hasOwnProperty ( 'value' ) ) {
667
667
extraInputs . push (
668
- $ ( '<input type="hidden" name="' + s . extraData [ n ] . name + '">' , ownerDocument ) . val ( s . extraData [ n ] . value )
669
- . appendTo ( form ) [ 0 ] ) ;
668
+ $ ( '<input type="hidden" name="' + s . extraData [ n ] . name + '">' , ownerDocument ) . val ( s . extraData [ n ] . value )
669
+ . appendTo ( form ) [ 0 ] ) ;
670
670
} else {
671
671
extraInputs . push (
672
- $ ( '<input type="hidden" name="' + n + '">' , ownerDocument ) . val ( s . extraData [ n ] )
673
- . appendTo ( form ) [ 0 ] ) ;
672
+ $ ( '<input type="hidden" name="' + n + '">' , ownerDocument ) . val ( s . extraData [ n ] )
673
+ . appendTo ( form ) [ 0 ] ) ;
674
674
}
675
675
}
676
676
}
736
736
737
737
return ;
738
738
739
- } else if ( e === SERVER_ABORT && xhr ) {
739
+ }
740
+ if ( e === SERVER_ABORT && xhr ) {
740
741
xhr . abort ( 'server abort' ) ;
741
742
deferred . reject ( xhr , 'error' , 'server abort' ) ;
742
743
1405
1406
switch ( tag ) {
1406
1407
case 'input' :
1407
1408
this . checked = this . defaultChecked ;
1408
- // fall through
1409
+ // fall through
1409
1410
1410
1411
case 'textarea' :
1411
1412
this . value = this . defaultValue ;
1453
1454
return true ;
1454
1455
1455
1456
case 'form' :
1456
- // guard against an input with the name of 'reset'
1457
- // note that IE reports the reset function as an 'object'
1457
+ // guard against an input with the name of 'reset'
1458
+ // note that IE reports the reset function as an 'object'
1458
1459
if ( typeof this . reset === 'function' || ( typeof this . reset === 'object' && ! this . reset . nodeType ) ) {
1459
1460
this . reset ( ) ;
1460
1461
}
You can’t perform that action at this time.
0 commit comments