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

Nested lists in course section summary can break AJAX drag and drop within that section

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.1, 2.1.2, 2.2.1
    • Fix Version/s: 2.3
    • Component/s: Course, JavaScript
    • Labels:
    • Environment:
      It is occuring on both Windows/IIS and Solaris/Apache
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE

      Description

      It is possible to break the AJAX drag and drop functionality within a section using two combinations of HTML lists

      The first is an order list with a nested unordered list followed by a seperate ordered list

      The second is an unordered list with a nexted ordered list followed by a sepearte unordered list.

      In both cases drag and drop for the elements within the section that the summary is in does not activate. (however if an element from another section is dragged in it does not loose drag and drop functionality until the page is refreshed)

      The two miniumum html examples are:

      <ul>
      <li>test</li>
      <ol>
      <li>test</li>
      </ol></ul>
      <ul>
      <li>test</li>
      </ul>

      and

      <ol>
      <li>test</li>
      <ul>
      <li>test</li>
      </ul></ol>
      <ol>
      <li>test</li>
      </ol>

      Just found it to be happening in Moodle 2.3 as well as the 2.1.x versions I found it on

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

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