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

    Details

    • Workaround:
      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.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Rank:
      37454

      Description

      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.

        Issue Links

          Activity

          Hide
          Michael de Raadt added a comment -

          Thanks for reporting this.

          I'm not sure if this is because of how Moodle is delivering the HTML recorded in the editor, or how the editor is delivering the HTML.

          Show
          Michael de Raadt added a comment - Thanks for reporting this. I'm not sure if this is because of how Moodle is delivering the HTML recorded in the editor, or how the editor is delivering the HTML.
          Hide
          Dan Poltawski added a comment -

          This has been fixed by MDL-31052 in 2.3

          Show
          Dan Poltawski added a comment - This has been fixed by MDL-31052 in 2.3

            People

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

              Dates

              • Created:
                Updated:
                Resolved: