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

      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.

        1. Screenshot_20200517_190420.png
          182 kB
          Nadav Kavalerchik
        2. customselect.png
          35 kB
          Luca Bösch
        3. mb0.25rem.png
          18 kB
          Luca Bösch
        4. new-ui-2023-02-22.png
          19 kB
          Tim Hunt
        5. Show question text setting.png
          7 kB
          Helen Foster

            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

              Created:
              Updated:
              Resolved:

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

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