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

Ajax sorting of section modules breaks when user inserts UL through HTML editor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 2.3
    • Component/s: JavaScript
    • Labels:
      None

      Description

      Check this forum entry for bug details:
      http://moodle.org/mod/forum/discuss.php?d=144328

      look for the line:

      this.resources_ul = this.content_td.getElementsByTagName('ul')[0];

      in /lib/ajax/section_classes.js (line 143 on my version)

      and replace it with this code:

      this.resources_ul = YAHOO.util.Dom.getElementsByClassName('section','ul',this.content_td)[0];

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  25/Jun/12