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

Showing rendered question text can break JS: disable filtering on quiz edit page and make optional in the question bank

    XMLWordPrintable

Details

    Description

      When in quiz edit page, the text filtering runs on the questiontext, and sometimes causes JS errors because it is out of question context. Running the text filters in the question context works just fine.

      It seems unnecessary to use filters on the edit page, especially if they generate JS errors.

      In out case, we are using the Formula question type together with the JSXgraph filter, and this combination was casing JS error only on the edit page.

      Attachments

        1. customselect.png
          customselect.png
          35 kB
        2. mb0.25rem.png
          mb0.25rem.png
          18 kB
        3. new-ui-2023-02-22.png
          new-ui-2023-02-22.png
          19 kB
        4. Screenshot_20200517_190420.png
          Screenshot_20200517_190420.png
          182 kB
        5. Show question text setting.png
          Show question text setting.png
          7 kB

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              leac Lea Cohen
              Luca Bösch Luca Bösch
              Andrew Lyons Andrew Lyons
              CiBoT CiBoT
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h

                  Clockify

                    Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.