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

Drag'n'drop topic reorder looks like it works but actually fails if you drag onto Topic 0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 2.3.2
    • Course, JavaScript
    • MOODLE_23_STABLE

      If you try to drag a topic to the first position it sometimes fails to work, even though it looks like it has worked (i.e. the topic switch places), when you do anything else (e.g. turn off editing) you find the topic is back in the place it began.

      You can tell if it has worked because the little spinner icon appears as it is working. When it's only pretending to work, you don't get this. (If you've got developer tools in your browser then you can see the REST call being fired as well when it's working properly).

      This seems to have something to do with the drag target. If you go onto Topic 0, then you get feedback as if dropping would succeed, and when you release it looks like it has worked. The workaround is to drop it lower down the screen.

      I've tested and seen this behaviour in Firefox, Chrome, IE8 and Safari (though Safari might have other issues, it seemed the least consistent).

            dobedobedoh Andrew Lyons
            bawjaws David Scotson
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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