0

Fileupload does not work in modal window

asked 2014-02-11 10:57:47 +0800

enixser gravatar image enixser
185 3

I want to implement a file upload button. This works fine when I put it into a "normal" page like this

<button label="Upload" upload="true" />

When I click the button the dialog for choosing a file opens. But when I put the same button into a modal window and click it, the dialog does not open.

Any ideas what might cause this strange behavior? I'm using ZK 7.0.0.

Best regards, Ralf.

delete flag offensive retag edit

Comments

I tried in zk fiddle, http://zkfiddle.org/sample/32nn5c2/2-upload-bug , can run correctly, maybe you should provide your reproducible code also here.

dennis ( 2014-02-12 01:13:35 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-02-13 09:23:29 +0800

bbolek gravatar image bbolek
98 1 5

Hello;

Button may have problems when there is a style attached to it.. Try zclass="" on the button to see if it is style related..

Have a good day..

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: 2014-02-11 10:57:47 +0800

Seen: 24 times

Last updated: Feb 13 '14

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