Hi, It depends on what you add the OnDomReady header item. Is it the ModalWindow ? Or its content (Panel or Page) ?
Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Oct 19, 2016 at 5:06 PM, Rob Audenaerde <rob.audenae...@gmail.com> wrote: > Hi all, > > I have a panel that needs some JavaScript for sizing etc. to run after a > ModalWindow is shown, but as I now see it the Javascript is run *before* > the modal window is shown. > > What is the proper way to run javascript after a ModalWindow is shown? It > seems OnDomReady is not sufficient here? > > Thanks, > > Rob >