Changeset 9d72713 in github


Ignore:
Timestamp:
Jul 11, 2012 9:35:34 AM (10 months ago)
Author:
Thomas Bruederli <thomas@…>
Children:
688d16e
Parents:
1c079c1
Message:

Fix drag&drop feature test on IE7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/js/app.js

    r7794ae1 r9d72713  
    462462 
    463463    // activate html5 file drop feature (if browser supports it and if configured) 
    464     if (this.gui_objects.filedrop && this.env.filedrop && ((XMLHttpRequest && XMLHttpRequest.prototype.sendAsBinary) || window.FormData)) { 
     464    if (this.gui_objects.filedrop && this.env.filedrop && ((window.XMLHttpRequest && XMLHttpRequest.prototype && XMLHttpRequest.prototype.sendAsBinary) || window.FormData)) { 
    465465      $(document.body).bind('dragover dragleave drop', function(e){ return ref.document_drag_hover(e, e.type == 'dragover'); }); 
    466466      $(this.gui_objects.filedrop).addClass('droptarget') 
Note: See TracChangeset for help on using the changeset viewer.