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

single click file upload

    XMLWordPrintable

Details

    • MOODLE_19_STABLE, MOODLE_20_STABLE
    • Easy

    Description

      enable "single click upload" of a single file on several components inside the Moodle framework.

      in general, i gave the upload FORM a name : "upload"
      and added a javascript onchange event to the input file(type)
      that calls the submit function of the current FORM.

      changes are in the following components:
      files (repository)
      assignment (upload)
      assignment (uploadsingle)

      i have also made a special usability shortcut inside the Files page
      in which i included the "single upload file to the current folder" function
      at the end of the main Files page.
      (no need to click the old "upload file" and navigate to a new page)

      hope you like it and that it does not break anything

      btw,
      i was inspired by this tracker to try and patch moodle to have a single click file upload.

      Attachments

        1. Image Insert.png
          Image Insert.png
          9 kB
        2. moodle2filescreen.png
          moodle2filescreen.png
          30 kB
        3. one-click-upload.tar.gz
          2 kB
        4. Quick Insert Image.png
          Quick Insert Image.png
          20 kB

        Issue Links

          Activity

            People

              Votes:
              8 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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