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

Show/Hide Section gives misleading results

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3
    • 1.9.13, 2.1.1
    • Course, JavaScript
    • MOODLE_19_STABLE, MOODLE_21_STABLE
    • MOODLE_23_STABLE
    • Hide

      Refresh the page, which defeats the object of AJAX

      Show
      Refresh the page, which defeats the object of AJAX

      Unhiding a section which contains hidden resources/activities makes all of the content appear unhidden.

      This is due to the fact that the AJAX code uses CSS styles to determine what was previously shown/hidden.

      To recreate:

      1. Hide some resources
      2. Hide the section
      3. Refresh the page (or do something which causes the page to be refreshed)
      4. Unhide the topic -> all resources appear unhidden
      5. Refresh the page -> all hidden resources appear hidden again

            poltawski Dan Poltawski
            amanda.doughty Amanda Doughty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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