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

an even number of UL elements in the topic summary section breaks AJAX move within that block in editing mode

XMLWordPrintable

    • MOODLE_22_STABLE
    • MOODLE_23_STABLE
    • Hide

      make the total number of UL elements an odd number within the summary text.

      Show
      make the total number of UL elements an odd number within the summary text.

      When having a total of some even number of UL (unordered list) elements in the summary section of a topic, the AJAX move icon does not show up for the items within that topic section in course page editing mode.

      • This bug does not happen if the summary contains an odd number of UL elements, whether nested or not.
      • It does not happen if it's entered in a label after a blank topic summary.
      • It does not affect any other topic sections except itself.
      • Using TinyMCE WYSIWYG or HTML interface produces the same result.
      • The behavior is the same on IE, Firefox, and Chrome.
      • OL (ordered list) elements do not display the same behavior.

      Reproduction steps:

      1. turn on AJAX
      2. edit a topic summary and add an even number of UL elements, such as <ul><li>set A1</li><li>set A2</li></ul><ul><li>set B1</li></ul>

      All existing or new items within the topic will not show the AJAX move icon while the rest of the page will show it as usual.

            poltawski Dan Poltawski
            davidtang David Tang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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