Pavel

Results 225 comments of Pavel
trafficstars

Not all browsers support clearing the file input. Use zone.clear() (https://github.com/ProgerXP/FileDrop/blob/master/filedrop.js#L1145) or recreate the drop zone which works everywhere. Also note that zone.el is an arbitrary element (like fieldset), not...

Explanation of this option is probably misleading. I doubt it's possible to get Chrome (or other browser) handle drop event on the entire document, i.e. outside of the drop zone...

> Is there any possibility (without using the iframe solution) to give the file in the post request a custom parameter name? No, this is browser's limitation. FileDrop was written...

Client-side compression is rather tricky (and probably slow). I'm not aware of any built-in method of doing this. You will have to use some 3rd party library before passing data...

> Can I send a compressed buffer rather than a file using FileDrop? You don't need FileDrop to send your buffer - you probably need it to read the chunk...

This is strange, I have tested all versions before releasing FileDrop v2 and it used to work. Now I can't even verify this because I can't download IE9 - it's...

> I got a few visitors yesterday with IE8 in Arabic locale. My inbox was alarming with IE8-related error reports :) You're kidding, what OS do they use? Vista? I...

@oytuntez @DiegoYungh Sorry guys, I realize it's a huge delay but I'm tied up in other activities and can't give it enough attention for now. Please use the suggested patches...

I'm not sure what you are trying to do. Do you want to have a file component that looks just like standard `` and that user can select a file...

Standard `` also accepts drag & drop (at least in Firefox and Chrome) and better than that, browser will trigger normal checks like checking `require`, `pattern`, `onsubmit` and all that,...