Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix drag&drop feature test on IE7

  • Loading branch information...
commit 9d72713987bb990b40cb51199fc4effcc5c2772e 1 parent 1c079c1
@thomascube thomascube authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  program/js/app.js
View
2  program/js/app.js
@@ -461,7 +461,7 @@ function rcube_webmail()
this.gui_containers.foldertray = $(this.gui_objects.folderlist);
// activate html5 file drop feature (if browser supports it and if configured)
- if (this.gui_objects.filedrop && this.env.filedrop && ((XMLHttpRequest && XMLHttpRequest.prototype.sendAsBinary) || window.FormData)) {
+ if (this.gui_objects.filedrop && this.env.filedrop && ((window.XMLHttpRequest && XMLHttpRequest.prototype && XMLHttpRequest.prototype.sendAsBinary) || window.FormData)) {
$(document.body).bind('dragover dragleave drop', function(e){ return ref.document_drag_hover(e, e.type == 'dragover'); });
$(this.gui_objects.filedrop).addClass('droptarget')
.bind('dragover dragleave', function(e){ return ref.file_drag_hover(e, e.type == 'dragover'); })
Please sign in to comment.
Something went wrong with that request. Please try again.