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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.3
    • Fix Version/s: None
    • Labels:
      None
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_23_STABLE
    • Pull Master Branch:
      MDL-32456_database_dndupload

      Description

      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).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  3 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: