Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5101

Could not open second modal window after closing first

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.6.0
    • 6.12.0, 7.0.0-M1
    • wicket

    Description

      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

      Attachments

        1. modalFormClose.zip
          30 kB
          Artem Morozov
        2. WICKET-5101.patch
          3 kB
          Andrea Del Bene
        3. wicket-ajax-response.js
          1 kB
          Artem Morozov

        Issue Links

          Activity

            People

              bitstorm Andrea Del Bene
              a.morozov Artem Morozov
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: