-
FEATURED COMPONENTS
First time here? Check out the FAQ!
File upload progress bar doesn't get remove after the upload process gets completed. And also if we click on cross to abort upload, it doesn't stop. And when I tried to customize it the function (:- $init: function (uplder, filenm) ) doesn't get executed.
Regards, Tomar
I had the same issue when moving to a new environment, upgrading Java from 7 to 8 and Spring from 3 to 4, also Spring Security. I noticed in browser Developer Tools JS console the following messages:
Refused to display 'http://MYURL/zkau/upload?uuid=zNvPci&dtid=z_b7a&sid=1&maxsize=undefined' in a frame because it set 'X-Frame-Options' to 'deny'.
zk.wpd:1234 POST http://MYURL/zkau/upload?uuid=zNvPci&dtid=z_b7a&sid=1&maxsize=undefined net::ERR_BLOCKED_BY_RESPONSE
I solved the issue according to http://forum.zkoss.org/question/99483/fileupload-not-worked/ using
<headers>
<frame-options policy="SAMEORIGIN"/>
</headers>
Asked: 2013-09-01 08:08:51 +0800
Seen: 59 times
Last updated: Jan 17 '18
http://www.zkoss.org/zkdemo/effects/upload_effect
roliroli ( 2013-09-01 09:26:59 +0800 )edit