ICEfaces
  1. ICEfaces
  2. ICE-10088

blockUIOnSubmit - IE displays Are you sure you want to leave? message on redirect navigation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P02
    • Fix Version/s: 4.0, EE-3.3.0.GA_P03
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      IE9/10/11
    • Assignee Priority:
      P2
    • Support Case References:
      Show
      Support Case #12887 - https://icesoft.my.salesforce.com/5007000000dCESS Support Case #13115 - https://icesoft.my.salesforce.com/5007000000qPDgi
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      The following do not suffer from this behavior:
       - blockUIOnSubmit=false
       - Use a forward navigation.
      Show
      The following do not suffer from this behavior:  - blockUIOnSubmit=false  - Use a forward navigation.

      Description

      When doing a redirect navigation in IE9/10/11 and using blockUIOnSubmit=true, an "Are you sure you want to leave the page?" message is shown. It is also shown when closing the browser window/tab.

      With blockUIOnSubmit=false, the messages aren't displayed.

        Activity

        Hide
        Arran Mccullough added a comment -

        Attached test case and screen shot showing the message. The icefaces-ee, icefaces-ee-ace, icefaces-ee-compat, and icefaces-ee-ext jars should be added back into the war to run.

        Steps:

        • Load welcomeICEfaces.jsf in IE9/10/11
        • Click the Redirect button, a message will be shown.
        • Clicking on the forward button this message isn't displayed.
        Show
        Arran Mccullough added a comment - Attached test case and screen shot showing the message. The icefaces-ee, icefaces-ee-ace, icefaces-ee-compat, and icefaces-ee-ext jars should be added back into the war to run. Steps: Load welcomeICEfaces.jsf in IE9/10/11 Click the Redirect button, a message will be shown. Clicking on the forward button this message isn't displayed.
        Hide
        Mircea Toma added a comment - - edited

        Register a closure that does not return anything with onBeforeUnload function to avoid page exit message in IE. Previously startBlockingUI function was passed in directly, the function returns a closure which IE renders as question on page exit.

        Show
        Mircea Toma added a comment - - edited Register a closure that does not return anything with onBeforeUnload function to avoid page exit message in IE. Previously startBlockingUI function was passed in directly, the function returns a closure which IE renders as question on page exit.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: