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

Database activity non-standard filepicker javascript does not include drag and drop upload

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.3
    • None
    • MOODLE_23_STABLE
    • MDL-32456_database_dndupload
    • Hide
      1. Create a new mod_data instance
      2. Add a picture, file and url field to the database
        1. Click 'add entry'
        2. Check you can drag and drop files into the picture and file fields
        3. Check that pictures and files can be selected via the 'choose a file' button
        4. Check the entry is displayed as expected, once it has been saved (you will need to define a template before you can view the entry)
      3. Repeat with a mod_data with just a 'picture' field
      4. Repeat with a mod_data with just a 'file' field

      Note - drag and drop is supported in Firefox, Chrome, Safari and IE10.
      IE9 and below should display the filepicker elements as before this patch.

      Show
      Create a new mod_data instance Add a picture, file and url field to the database Click 'add entry' Check you can drag and drop files into the picture and file fields Check that pictures and files can be selected via the 'choose a file' button Check the entry is displayed as expected, once it has been saved (you will need to define a template before you can view the entry) Repeat with a mod_data with just a 'picture' field Repeat with a mod_data with just a 'file' field Note - drag and drop is supported in Firefox, Chrome, Safari and IE10. IE9 and below should display the filepicker elements as before this patch.

      The database activity module uses a non-standard filepicker element for uploading pictures.

      This means it hasn't picked up the new drag and drop upload code.

      I have not investigated enough to work out why it needs to use different code (and whether this it still needs to use separate code).

            davosmith Davo Smith
            davosmith Davo Smith
            Damyon Wiese Damyon Wiese
            Votes:
            3 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.