Although not exactly the same, it might be security related:

https://stackoverflow.com/questions/54600938/chrome-browser-version-72-0-3626-96-bug-triggering-input-type-file-click-fi

Try with a custom modal dialog instead of confirm().

Sven


Am 22.02.19 um 04:32 schrieb kyc:
I don't have problem running the following code with Chrome version 69 but
the file browser cannot be displayed after the confirmation message in
Chrome 72.0.3626.109.  Anyone can help?

FileUploadField fileUploadField = new FileUploadField("fileUploads");
fileUploadField.add(AttributeModifier.replace("onclick", "javascript: if
(confirm('abc')) { return true; } else { return false; } " ));

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to