grails-ajax-uploader
grails-ajax-uploader copied to clipboard
not working with IE6
Hallo antony,
today i found out that your uploader is not working with IE6. There occurs an js error which results in not showing the uploader button.
I traces down the error to your "params" parameter in the uploader tag i use:
<uploader:uploader id="1" url="${[controller:'test', action:'upload']}" params="[userId:'1']" />
which results in the following js:
var au_1 = new qq.FileUploader({ element: document.getElementById('au-1'), action: '/Test/test/upload', params: {userId: '1', } });
What produces the error in the IE6 is the comma when there is no element to follow.
params: {userId: '1' } would work fine
So if you erase that last comma your uploader could work with IE6 which i would appreciate very much!
Thanks for this! I will fix it now :)
Hi.
Thanks for this bug report! I've made a fix and released version 1.1. Give it a whirl and let me know how it goes!
Unfortunately I didn't get to do any extensive testing as I have a lot on my plate right now, so hopefully it will just work :)
Cheers, Antony