Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-32765 Paging course support remaining issues (follow on from MDL-32508)
  3. MDL-32681

AJAX: Do not allow section moving when the move icons are not present

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • Minor
    • 2.3
    • 2.3
    • JavaScript
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • MDL-32681-master-2
    • Easy
    • Hide

      1/ Set coursedisplay to separate sections per page mode
      2/ Click into a course section
      3/ Turn editting on
      4/ Verify that the drag/drop section isn't displayed
      5/ Go to the main course index page and verify that the drag/drop section controls are displayed

      (basically course ajax move icons should match the non-ajax move icons)

      Show
      1/ Set coursedisplay to separate sections per page mode 2/ Click into a course section 3/ Turn editting on 4/ Verify that the drag/drop section isn't displayed 5/ Go to the main course index page and verify that the drag/drop section controls are displayed (basically course ajax move icons should match the non-ajax move icons)

    Description

      The changes in MDL-32508 are going to introduce a single section page which doesn't make sense to allow sections to be moved (and the non-ajax move icons are not present).

      We need the JS to avoid making move icons too.

      Not sure on the best way to achieve it - you could simply only show the move handle when the icons are present.

      Attachments

        Activity

          People

            dobedobedoh Andrew Lyons
            poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Sam Hemelryk Sam Hemelryk
            Ankit Agarwal Ankit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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