Since this module doesn't seem to work in IE9, 8 & 7, there should be a fallback option to a normal field upload field.

CommentFileSizeAuthor
#4 dragdropfile-fallback-4.patch2.02 KBedaa
#2 dragdropfile.jpg33.75 KBedaa

Comments

rudiedirkx’s picture

It should degrade gracefully. The file input should work normally. If it doesn't, can you find out why? Front end or back end?

edaa’s picture

StatusFileSize
new33.75 KB

It's a frontend issue, below is the IE 8 screenshot, the text "DRAG ON ME" still displayed, please remove it.

dragdropfile_file_upload

rudiedirkx’s picture

Category: Feature request » Bug report

That's it?? So the file input works fine!?

Give me a patch. I don't care about IE 7, 8 and 9.

edaa’s picture

StatusFileSize
new2.02 KB

try new patch

rudiedirkx’s picture

Why check for draggable? Does it still work in IE 10?

abarpetia’s picture

No, for me its not working in IE 10

rudiedirkx’s picture

Title: Fallback for IE9, 8 & 7 » Degrade gracefully for browsers that don't understand draggable files (IE < 10)
Category: Bug report » Feature request

I still don't care about IE < 10.

@abarpetia Does IE 10 work with the normal latest release?

I think the only thing this issue should fix is hiding the "DRAG ON ME" and border for browsers that don't understand draggable files. Like I said, it should all degrade gracefully, so no extra JS necessary.

rudiedirkx’s picture

Status: Active » Fixed

I think this very simple check fixes it:

  // Browers that don't know File, won't have event.dataTransfer.files.
  if (!window.File || !File.prototype) {
    return;
  }

  • rudiedirkx committed 9b66181 on 7.x-1.x
    Issue #2379541: Degrade gracefully for browsers that don't understand...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

abarpetia’s picture

Sorry for late reply. When i installed this module on my dev environment at that it was not working on IE 10 but after moving to Production environment it stated working on IE 10. Not sure what was the cause but it's working now so all good.