Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-5211

Section 5 does not remain expanded when browsing away and back

    XMLWordPrintable

    Details

    • Plugin Version:
      2014041700
    • Workaround:
      Hide

      Change in '/course/format/topcoll/format.php':

      user_preference_allow_ajax_update('topcoll_toggle_' . $course->id, PARAM_TEXT);
      

      to

      user_preference_allow_ajax_update('topcoll_toggle_' . $course->id, PARAM_RAW);
      

      But I'm not sure of the potential security issues of that change with possible code injection.

      Show
      Change in '/course/format/topcoll/format.php': user_preference_allow_ajax_update('topcoll_toggle_' . $course->id, PARAM_TEXT); to user_preference_allow_ajax_update('topcoll_toggle_' . $course->id, PARAM_RAW); But I'm not sure of the potential security issues of that change with possible code injection.
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE

      Description

      If only section 5 is expanded and you browse into an activity and browse back to the course main page section 5 is no longer expanded (using breadcrumbs).

      This does not happen with any other sections.

      If you have section 5 plus another section expanded then both stay expanded as expected.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Jul/14