Moodle
  1. Moodle
  2. MDL-9195

mform->hardFreeze() doesn't remove id attribute of label

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.7.3, 1.8.1, 1.9
    • Component/s: Accessibility
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      To see this in action, edit your own profile (user/editadvanced.php). If auth method cannot be changed, the Force Password Change checkbox will be hard-frozen, but the label for that field still contains the id attribute pointing to the now-missing checkbox input.

        Gliffy Diagrams

          Activity

          Show
          Jamie Pratt added a comment - Fixed in 1.7, 1.8 and HEAD. http://moodle.cvs.sourceforge.net/moodle/moodle/lib/form/checkbox.php?r1=1.7&r2=1.8
          Hide
          Jamie Pratt added a comment -

          A similar fix may be needed for other elements if this problems comes up again. Text and Select boxes are done and others. And the checkbox now.

          Show
          Jamie Pratt added a comment - A similar fix may be needed for other elements if this problems comes up again. Text and Select boxes are done and others. And the checkbox now.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: