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

Using file uploader, if you click save during process it disables the button, but doesn't remove it

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.7
    • Fix Version/s: None
    • Component/s: Filepicker
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      I've tried in assignment > edit submission > upload a file.

      I drag a file into the upload area.

      During the upload, before it's completed, I click save (eg by accident)

      An error appears 'do you want to leave or stay on the page, I click stay on the page

      The save button becomes greyed out with a 'disabled' tag

      It continues uploading and completes

      The disabled tag does not get removed, so you cannot save.

      <input type="submit" class="btn btn-primary" name="submitbutton" id="id_submitbutton" value="Save changes" disabled="">

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              slewislcm Simon Lewis
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: