0

File upload progress bar

asked 2013-09-01 08:08:51 +0800

SumitT gravatar image SumitT
1

updated 2013-09-01 08:10:30 +0800

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

delete flag offensive retag edit

Comments

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-01-17 00:36:30 +0800

takach gravatar image takach
30 2

updated 2018-01-17 01:03:03 +0800

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>
link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-09-01 08:08:51 +0800

Seen: 56 times

Last updated: Jan 17 '18

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More