Skip to content

Commit e4cadb4

Browse files
author
Jeff Johnson
committed
Ignore XHR requirement. It is being used to incorrectly detect features
1 parent 9cc9fcd commit e4cadb4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

vendor/assets/javascripts/jquery-fileupload/jquery.fileupload.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -928,12 +928,12 @@
928928

929929
_initEventHandlers: function () {
930930
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+
937937
this.options.fileInput
938938
.bind('change.' + ns, {fileupload: this}, this._onChange);
939939
},

0 commit comments

Comments
 (0)