Permalink
Browse files

Ignore XHR requirement. It is being used to incorrectly detect features

  • Loading branch information...
1 parent 9cc9fcd commit e4cadb419a18c150a1ae352a26d5511e051ba2aa Jeff Johnson committed Oct 15, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 vendor/assets/javascripts/jquery-fileupload/jquery.fileupload.js
@@ -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);
},

0 comments on commit e4cadb4

Please sign in to comment.