[Owncloud] Broken fileupload on IE

Thomas Tanghus thomas at tanghus.net
Wed May 16 11:03:34 UTC 2012


On Wednesday 16 May 2012 12:33 Arthur Schiwon wrote:
> Hey,
> 
> in OC 4 file upload is broken on IE (at least for IE 8 and 9), despite
> it has worked on OC 3. This is somewhat critical unfortunately.
> 
> IE fires an JavaScript error: "Access denied".
> 
> It occurs between when this is triggered:
> $(this).parent().children('.file_upload_start').trigger('click');
> (in apps/files/js/files.js)
> 
> file_upload_start is the file input element. IE is very strict about
> this type of element and hardly permits JS interaction with that.
> 
> OC 3 does not differ much regarding HTML structure. However, using IE
> the cited line is not being triggered. Confusingly, commenting out that
> element makes it unusable.
> 
> I am pretty much dark with that. Does someone of you have an idea?

This will probably also render profile picture useless in Contacts. I use the 
same technique: $('#file_upload_start').trigger('click');

I don't have access to IE though, so I can't test it.

-- 
Med venlig hilsen / Best Regards

Thomas Tanghus



More information about the Owncloud mailing list