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

rebuild_course_cache not being called after AJAX show/hide

    XMLWordPrintable

Details

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

    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.

      Attachments

        Activity

          People

            skodak Petr Skoda
            mylescarrick Myles Carrick
            Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona), David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3/Mar/08