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

DND onto image throw js error when uploading image in draggable item

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 3.0, 3.1
    • Filepicker, Questions
    • MOODLE_30_STABLE, MOODLE_31_STABLE

      Steps to reproduce:

      1. Create a new 'drag and drop onto image' question.
      2. Add a Question name/text and upload a background image.
      3. In draggable item 1, choose an image file and check JS console, you will see "Uncaught TypeError: Cannot read property 'simulate' of null"
      4. Add text for draggable item 1
      5. Check drop zones and "Draggable item" will be empty.

      Workaround is to save page and edit question again. This time the "Draggable item" will show text for image.

            Unassigned Unassigned
            rajeshtaneja Rajesh Taneja
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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