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

ModalWindow unload warning always displayed (even if window is closed)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.13.0, 7.0.0-M1
    • 6.14.0, 7.0.0-M1
    • wicket-extensions
    • None

    Description

      The fix applied for WICKET-4909 seems to be bad:

      If there's a ModalWindow with showUnloadConfirmation == true (java) and window.onbeforeunload == null (javascript), the warning message ('Reloading this page will cause the modal window to disappear') is always displayed, even if the ModalWindow was closed.

      The fix for WICKET-4909 should probably take the showUnloadConfirmation flag into account.

      Attachments

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              jonas Jonas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: