Skip to content

Commit

Permalink
Ignore XHR requirement. It is being used to incorrectly detect features
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Johnson committed Oct 15, 2012
1 parent 9cc9fcd commit e4cadb4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions vendor/assets/javascripts/jquery-fileupload/jquery.fileupload.js
Expand Up @@ -928,12 +928,12 @@

_initEventHandlers: function () {
var ns = this.options.namespace;
if (this._isXHRUpload(this.options)) {
this.options.dropZone
.bind('dragover.' + ns, {fileupload: this}, this._onDragOver)
.bind('drop.' + ns, {fileupload: this}, this._onDrop)
.bind('paste.' + ns, {fileupload: this}, this._onPaste);
}

this.options.dropZone
.bind('dragover.' + ns, {fileupload: this}, this._onDragOver)
.bind('drop.' + ns, {fileupload: this}, this._onDrop)
.bind('paste.' + ns, {fileupload: this}, this._onPaste);

this.options.fileInput
.bind('change.' + ns, {fileupload: this}, this._onChange);
},
Expand Down

0 comments on commit e4cadb4

Please sign in to comment.