File tree 1 file changed +12
-10
lines changed
1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * jQuery File Upload Plugin 5.17.4
2
+ * jQuery File Upload Plugin 5.17.5
3
3
* https://github.com/blueimp/jQuery-File-Upload
4
4
*
5
5
* Copyright 2010, Sebastian Tschan
803
803
} ,
804
804
dirReader ;
805
805
path = path || '' ;
806
- if ( entry . _file ) {
807
- // Workaround for Chrome bug #149735
808
- entry . _file . relativePath = path ;
809
- dfd . resolve ( entry . _file ) ;
810
- } else if ( entry . isFile ) {
811
- entry . file ( function ( file ) {
812
- file . relativePath = path ;
813
- dfd . resolve ( file ) ;
814
- } , errorHandler ) ;
806
+ if ( entry . isFile ) {
807
+ if ( entry . _file ) {
808
+ // Workaround for Chrome bug #149735
809
+ entry . _file . relativePath = path ;
810
+ dfd . resolve ( entry . _file ) ;
811
+ } else {
812
+ entry . file ( function ( file ) {
813
+ file . relativePath = path ;
814
+ dfd . resolve ( file ) ;
815
+ } , errorHandler ) ;
816
+ }
815
817
} else if ( entry . isDirectory ) {
816
818
dirReader = entry . createReader ( ) ;
817
819
dirReader . readEntries ( function ( entries ) {
You can’t perform that action at this time.
0 commit comments