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

Nested pix template does not load in js when $CFG->cachejs is on

    XMLWordPrintable

Details

    • MOODLE_29_STABLE
    • MOODLE_29_STABLE
    • MDL-51116-master
    • Hide

      Use the test commit on the end of this branch with/without the patch included.

      The instructions to reproduce the bug are:
      make sure $CFG->cachejs is on
      open /tag/test.php
      purge caches
      click on flag, it will change red/white etc
      reload the page
      click on the flag, make sure it does not disappear!

      Show
      Use the test commit on the end of this branch with/without the patch included. The instructions to reproduce the bug are: make sure $CFG->cachejs is on open /tag/test.php purge caches click on flag, it will change red/white etc reload the page click on the flag, make sure it does not disappear!

    Description

      I have a template that contains pix element in it. It renders fine by itself but disappears in ajax. I'm not sure what exactly is happening
      This is how I can reproduce it:
      pick this: https://github.com/moodle/moodle/compare/master...marinaglancy:wip-MDL-51116-master

      • make sure $CFG->cachejs is enabled
      • open /tag/test.php
      • purge caches
      • click on flag, it will change, keep clicking, it will change back and forth
      • refresh page
      • click on flag, it will disappear, the text part of template will be shown

      Attachments

        Issue Links

          Activity

            People

              damyon Damyon Wiese
              marina Marina Glancy
              Marina Glancy Marina Glancy
              David Monllaó David Monllaó
              Rajesh Taneja Rajesh Taneja
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Sep/15