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

rebuild_course_cache not being called after AJAX show/hide

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.5, 1.9, 2.0
    • 1.8, 1.9
    • Course, JavaScript
    • None
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      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.

            skodak Petr Skoda
            mylescarrick Myles Carrick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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