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

Fragments API does not return javascript from a mustache template

XMLWordPrintable

    • MOODLE_33_STABLE
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • MDL-59380-master
    • Hide

      Apply the testing commit (patch file attached).

      Verify on the notification preferences page (open the bell menu and click the cog) you see an alert when the page loads AND every time you open the email settings modal.

       

      Show
      Apply the testing commit (patch file attached). Verify on the notification preferences page (open the bell menu and click the cog) you see an alert when the page loads AND every time you open the email settings modal.  

      The fragments API is supposed to return all HTML and JS generated while rendering into 2 variables as it's response. It misses the JS added from the mustache javascript helper because the javascript mustache helper holds a direct reference to the wrong page requirements manager.

       

       

            damyon Damyon Wiese
            damyon Damyon Wiese
            Simey Lameze Simey Lameze
            Jake Dallimore Jake Dallimore
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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