File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * jQuery File Upload Plugin 5.13
2
+ * jQuery File Upload Plugin 5.14
3
3
* https://github.com/blueimp/jQuery-File-Upload
4
4
*
5
5
* Copyright 2010, Sebastian Tschan
447
447
if ( options . type !== 'POST' && options . type !== 'PUT' ) {
448
448
options . type = 'POST' ;
449
449
}
450
+ if ( ! options . formAcceptCharset ) {
451
+ options . formAcceptCharset = options . form . attr ( 'accept-charset' ) ;
452
+ }
450
453
} ,
451
454
452
455
_getAJAXSettings : function ( data ) {
Original file line number Diff line number Diff line change 1
1
/*
2
- * jQuery Iframe Transport Plugin 1.4
2
+ * jQuery Iframe Transport Plugin 1.5
3
3
* https://github.com/blueimp/jQuery-File-Upload
4
4
*
5
5
* Copyright 2011, Sebastian Tschan
42
42
return {
43
43
send : function ( _ , completeCallback ) {
44
44
form = $ ( '<form style="display:none;"></form>' ) ;
45
+ form . attr ( 'accept-charset' , options . formAcceptCharset ) ;
45
46
// javascript:false as initial iframe src
46
47
// prevents warning popups on HTTPS in IE6.
47
48
// IE versions below IE8 cannot set the name property of
You can’t perform that action at this time.
0 commit comments