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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3
    • 1.9
    • JavaScript
    • None

      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];

            poltawski Dan Poltawski
            krulik Serge Krul
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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