Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-21085

popupchecker() in javascript-static.js doesnt work in google chrome

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Quiz
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      popupchecker() relies on window.open returning null if there is a popup blocker active. Unfortunately google chrome works differently from IE, firefox and safari and returns a window object even with the popup blocker active.

      A possible system for detecting whether there is a popup blocker active in all browsers can be found here. http://stackoverflow.com/questions/668286/detect-blocked-popup-in-chrome

      Attachments

        Activity

          People

            timhunt Tim Hunt
            andyjdavis Andrew Davis
            Nobody Nobody
            Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              24/Nov/10