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

Quiz in Javascript Popup not working

    XMLWordPrintable

Details

    • MOODLE_23_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MDL-35754-master
    • Hide

      Test pre-requisites

      • To be tested on IE8, IE9, Firefox, Chrome
      • Debug level has to be set to developer
      • A quiz with setting Browser security set to "Full screen pop-up with some JavaScript security"

      Test steps

      1. Save the file test_popup.php in the root of your Moodle, and access it in your browser
      2. Make sure the invalid buttons throw an error but still open the popup
      3. Make sure the valid ones open a popup
      4. Disable the debug
      5. Make sure all buttons open a popup without throwing an error
      1. As a student, attempt the quiz
      2. Make sure it opens in a popup without errors
      Show
      Test pre-requisites To be tested on IE8, IE9, Firefox, Chrome Debug level has to be set to developer A quiz with setting Browser security set to "Full screen pop-up with some JavaScript security" Test steps Save the file test_popup.php in the root of your Moodle, and access it in your browser Make sure the invalid buttons throw an error but still open the popup Make sure the valid ones open a popup Disable the debug Make sure all buttons open a popup without throwing an error As a student, attempt the quiz Make sure it opens in a popup without errors

    Description

      Checked on PC in IE, Chrome, and FF. All generate a js error around javascript-static.js line 89. FF says args.name is undefined. Chrome and IE say 'match' is undefined or null.
      This is only in the 20120927 build. Hasn't been a problem previously.

      I'll look at the changes to javascript-static.js to see if I can trace it down.

      Attachments

        Issue Links

          Activity

            People

              fred Frédéric Massart
              jeffsibi Jeff Rader
              Andrew Davis Andrew Davis
              Dan Poltawski Dan Poltawski
              Dan Poltawski Dan Poltawski
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Nov/12