Moodle
  1. Moodle
  2. MDL-13220

rebuild_course_cache not being called after AJAX show/hide

    Details

    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
    • Rank:
      30650

      Description

      When using advanced editing features (AJAX), showing and hiding was only calling rebuild_course_cache() for deletion. This meant that switching modes (to Student View) etc was not reflecting the changes.

      The attached patch to course/rest.php applies calls it after all other changes.

        Activity

        Hide
        Petr Škoda added a comment -

        fixed in cvs, thanks for the report and patch

        Show
        Petr Škoda added a comment - fixed in cvs, thanks for the report and patch

          People

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

            Dates

            • Created:
              Updated:
              Resolved: