[ 
https://issues.apache.org/jira/browse/WICKET-3970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov resolved WICKET-3970.
-------------------------------------

    Resolution: Not A Problem

> onAfterOpen java script for modal windows
> -----------------------------------------
>
>                 Key: WICKET-3970
>                 URL: https://issues.apache.org/jira/browse/WICKET-3970
>             Project: Wicket
>          Issue Type: Wish
>            Reporter: Martin Cassidy
>            Priority: Minor
>
> Its nice that you can add custom java script for the closing of a modal 
> window but I've recently come across an issue where I need to get something 
> to run after the modal window has opened. Appending the java script to the 
> ajax request target didn't work because the script is running before the 
> modal window and its contents are visible.
> I've been able to setup a quick fix for the moment by altering the modal.js 
> to get it to run my callback method as a third statement in doShow() on line 
> 691 which is working, it would be nice if there was something that could be 
> set up via a method in the modal window class - getOpenJavascript() for 
> example

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to