Closed GoogleCodeExporter closed 9 years ago
Having trouble reproducing the error. Any news on this?
Original comment by fyneworks
on 6 Jun 2013 at 4:50
Turns out IE is very strict about ensuring that a user clicked either the
"browse" button or a label control associated with the upload input. On my
page, I am replacing the standard upload button with a custom one, and I was
using a click event handler on a custom button to trigger the upload click. In
order to make this work in IE, I had to wrap my custom button inside a <label>
associated with the upload input control. I then removed my JavaScript handler
to prevent the file picker coming up twice in Chrome.
However, this did not work with FireFox. Turned out FF has a bug (fixed in
version 23, which, as of this writing, is not yet released), so I had to bring
back my JS handler that was only applied where browser == FireFox and version <
23.
You can see result in location described in original submission.
Original comment by michael....@elanex.biz
on 8 Jul 2013 at 2:47
Thanks for sharing your results! It will help others with the same problem.
Original comment by diego.a...@gmail.com
on 9 Jul 2013 at 12:26
And we'll certainly pass it on to anybody with a similar issue
Original comment by fyneworks
on 9 Jul 2013 at 12:28
Original issue reported on code.google.com by
michael....@elanex.biz
on 9 Nov 2012 at 5:39