Closing Window in IE

Issue #932 resolved
Emil Reisser-Weston created an issue

When closing the e-learning window in IE using the Home button - it closes the browser window down and not just the pop-up window (this therefore logs you out0.

Can you amend asap? We need to apply to Sopra Steria.

Comments (7)

  1. Lauris Mikulans

    If this is something new that is happening only on create, I can revert back to previous version of room files.

    I will check it out little bit later.

  2. Lauris Mikulans

    Found issue, fixed, updated Create site!
    It closes because we need to close whole window in old openelms sites.

    Added a check if modal window close functionality exists, use that, else close whole window.

  3. Emil Reisser-Weston reporter

    Is this the training.htm file. If so can I make sure it does not have the flash option?

    E

  4. Lauris Mikulans

    I updated js/fs_scorm.js file, function “closeRoom“.

    function closeRoom() {
        if (
            parent &&
            parent.parent &&
            parent.parent.closeIframeInline
        ) {
            parent.parent.closeIframeInline();
        } else {
            top.window.close();
        }
    }
    
  5. Log in to comment