File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
app/assets/javascripts/jquery-fileupload Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1080
1080
_handleFileTreeEntry : function ( entry , path ) {
1081
1081
var that = this ,
1082
1082
dfd = $ . Deferred ( ) ,
1083
+ entries = [ ] ,
1084
+ dirReader ,
1083
1085
errorHandler = function ( e ) {
1084
1086
if ( e && ! e . entry ) {
1085
1087
e . entry = entry ;
1107
1109
readEntries ( ) ;
1108
1110
}
1109
1111
} , errorHandler ) ;
1110
- } ,
1111
- dirReader , entries = [ ] ;
1112
+ } ;
1112
1113
path = path || '' ;
1113
1114
if ( entry . isFile ) {
1114
1115
if ( entry . _file ) {
1311
1312
this . _off ( this . options . fileInput , 'change' ) ;
1312
1313
} ,
1313
1314
1315
+ _destroy : function ( ) {
1316
+ this . _destroyEventHandlers ( ) ;
1317
+ } ,
1318
+
1314
1319
_setOption : function ( key , value ) {
1315
1320
var reinit = $ . inArray ( key , this . _specialOptions ) !== - 1 ;
1316
1321
if ( reinit ) {
You can’t perform that action at this time.
0 commit comments