Do you want to close the window error

Hi guys,

I have this issue like when try to close the course window in IE i am receiving a popup window message like "The webpage you are viewing is trying close" also it's happening while clicking next and back button in my course!

Any idea why i am getting this error? also i integrated the course with Xapi

Comments

  • carlfink
    carlfink Community Member Posts: 1,099 ✭ Legend ✭
    That message is displayed if JavaScript is present "guarding" against closing the window. Specifically, it's "window.onbeforeunload = function() {/*Do something*/}"

    If you're getting it on page navigation, though, that's weird.