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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0
    • Component/s: JavaScript
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-51222-master

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              damyon Damyon Wiese
              Reporter:
              damyon Damyon Wiese
              Peer reviewer:
              Simey Lameze Simey Lameze
              Integrator:
              Andrew Lyons Andrew Lyons
              Tester:
              Frédéric Massart Frédéric Massart
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                16/Nov/15