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

Quiz in Javascript Popup not working

    Details

    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-35754-master

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  2 Vote for this issue
                  Watchers:
                  10 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    12/Nov/12