You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andrea Del Bene (JIRA)" <ji...@apache.org> on 2013/10/25 20:42:34 UTC

[jira] [Resolved] (WICKET-5101) Could not open second modal window after closing first

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

Andrea Del Bene resolved WICKET-5101.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.12.0
                   7.0.0

> Could not open second modal window after closing first
> ------------------------------------------------------
>
>                 Key: WICKET-5101
>                 URL: https://issues.apache.org/jira/browse/WICKET-5101
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.6.0
>            Reporter: Artem Morozov
>            Assignee: Andrea Del Bene
>              Labels: ajax, modal
>             Fix For: 7.0.0, 6.12.0
>
>         Attachments: modalFormClose.zip, WICKET-5101.patch, wicket-ajax-response.js
>
>
> Precondition: first modal window is opened. 
> It has ajax submit form inside.
> After submitting form inside modal I want to open another modal with another content.
> I debugged wicket ajax response and found, 
> that script, witch should close first window, closes second instead.
> I attached wicket-ajax-response.js to demonstrate the problem.
> wicket ajax engine correct runs those two functions, but "win.current.close();" at line 16
> actually closes second window, opened at line 40.
> See also
> https://issues.apache.org/jira/browse/WICKET-1576



--
This message was sent by Atlassian JIRA
(v6.1#6144)