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

    • Testing Instructions:
      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!
    • Affected Branches:
      MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-51116-master

      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

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Sep/15