Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-2975

Drag and drop appears to move topic body independantly of heading

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull from Repository:

      Description

      We found that drag and drop is buggy in both 1.9 and 2.0 versions. The topic body moves independently without the heading. So until you refresh the page, the topic headings are all wrong.

      I have fixed the 1.9 version and am working on 2.0. I'm sure there is a better way of doing this, but I am attaching my patch files for info.

      The problem lies in the fact that drag and drop looks for ids matching 'section-<n>'. In most formats the element with this id wraps the entire week/topic. However in this format it only wraps the content.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gb2048 Gareth J Barnard
              Reporter:
              amanda.doughty Amanda Doughty
              Participants:
              Component watchers:
              Gareth J Barnard, Gareth J Barnard
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                5/May/11