[ 
https://issues.apache.org/jira/browse/ISIS-771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989521#comment-13989521
 ] 

Martin Grigorov commented on ISIS-771:
--------------------------------------

The ticket that introduced this break is: 
https://issues.apache.org/jira/browse/WICKET-5101.
The change is:
@@ -406,7 +406,8 @@ public class ModalWindow extends Panel
         */
        protected CharSequence getShowJavaScript()
        {
-               return "Wicket.Window.create(settings).show();\n";
+               return "window.setTimeout(function(){\n" + "  
Wicket.Window.create(settings).show();\n"
+                       + "}, 0);\n";
        }


So, to workaround it you need to wrap your code in setTimeout() too.

> Upgrade Wicket to wicket 6.15.0 (or whatever is latest)
> -------------------------------------------------------
>
>                 Key: ISIS-771
>                 URL: https://issues.apache.org/jira/browse/ISIS-771
>             Project: Isis
>          Issue Type: Dependency upgrade
>          Components: Viewer: Wicket
>    Affects Versions: viewer-wicket-1.4.1
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: viewer-wicket-1.4.2
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to