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

The hide/show eye icon on labels is incorrect when AJAX is enabled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8, 1.8.1, 1.9.2
    • Fix Version/s: 1.8.9, 1.9.5
    • Component/s: JavaScript
    • Labels:
      None
    • Environment:
      Any
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      The hide/show eye icon on labels always shows as open if AJAX is enabled.

      To reproduce:

      Make sure AJAX is enabled.
      Turn editing on.
      Create a label.
      Hide the label by clicking the eye icon, or by going to the update label screen and setting the visible property to hide.
      Navigate back to the course page (or refresh it) - the eye is now open again.

      Note that the label is actually hidden from students - it is just that the eye icon is incorrect, leading teachers to believe that the label is not hidden when it really is.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/May/09