File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
vendor/assets/javascripts/jquery-fileupload Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 928
928
929
929
_initEventHandlers : function ( ) {
930
930
var ns = this . options . namespace ;
931
- if ( this . _isXHRUpload ( this . options ) ) {
932
- this . options . dropZone
933
- . bind ( 'dragover.' + ns , { fileupload : this } , this . _onDragOver )
934
- . bind ( 'drop.' + ns , { fileupload : this } , this . _onDrop )
935
- . bind ( 'paste.' + ns , { fileupload : this } , this . _onPaste ) ;
936
- }
931
+
932
+ this . options . dropZone
933
+ . bind ( 'dragover.' + ns , { fileupload : this } , this . _onDragOver )
934
+ . bind ( 'drop.' + ns , { fileupload : this } , this . _onDrop )
935
+ . bind ( 'paste.' + ns , { fileupload : this } , this . _onPaste ) ;
936
+
937
937
this . options . fileInput
938
938
. bind ( 'change.' + ns , { fileupload : this } , this . _onChange ) ;
939
939
} ,
You can’t perform that action at this time.
0 commit comments