Open Darksoulsong opened 10 years ago
I just figured out what's happening: As long as IE9 and below has no implementation of the File API, the 'size' variable passed in the template throw this error, because it is undefined.
I'll make a crossbrowser solution myself, by handle it extending the file_data (line 155) object with the other related file info, but only if the browser has no support to the File API.
It would be nice to see this fixed in a future version.
Hello Darksoulsong, I am trying to use this plugin for IE8. I am also facing issue of Size not defined.
Can you please share more details about solution you used. Also in my case drag and drop is not working in IE8. Have you faced similar issue with IE 8
Thanks in Advance Rahul
@rkhedekar This plugin uses the javascript File API, that is not present in the IE9 (and below) engine. The solution in this case is simply don't use these properties provided by the File API object only, as "size" is one of them.
Thank you Darksoulsong, By removing "size" I got it working on IE 8, without supporting drag and drop and progress bar. But may be I will check different library as drag and drop and progress bar doesn't work. jQuery-File-Upload claims it support IE 6 +.
Hi, The plugin Works perfectly starting from IE10, but IE9 and below throws errors related to functions like 'indexOf' (not available in older versions), but I can easily handle this with a simple polyfill. The error that is bothering me happens right after you select a file from the file dialog:
Line 3 from the aforementioned file has nothing but the script's copyright info, so it's being very difficult to figure what's wrong here.
What can I do to fix this? TYVM.