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

Add functions to amd templates module to insert or replace dom nodes.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0
    • 3.0
    • JavaScript
    • MOODLE_30_STABLE
    • MOODLE_30_STABLE
    • MDL-51222-master
    • Hide

      Use the template library, open your JS console and verify there are debugging messages that show the event being fired when parts of the page are updated (click on a template, enter some search text etc).

      Verify there are no JS errors and the template library still works.

      Show
      Use the template library, open your JS console and verify there are debugging messages that show the event being fired when parts of the page are updated (click on a template, enter some search text etc). Verify there are no JS errors and the template library still works.

      The reason for this is that after inserting or replacing dom nodes - the filters need to be notified there is new content that may need filtering (e.g. mathjax).

      So we should do the insert/replace and then notify the filters.

            damyon Damyon Wiese
            damyon Damyon Wiese
            Simey Lameze Simey Lameze
            Andrew Lyons Andrew Lyons
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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