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

Filepicker button 'Select this file' should prevent double clicks

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Go to your private files and click to add the file
      2. Choose a file from any repository (for example, Dropbox)
      3. Click 'Select this file'
      4. Make sure you can not click the button second time (loading icon is displayed)
      Show
      Go to your private files and click to add the file Choose a file from any repository (for example, Dropbox) Click 'Select this file' Make sure you can not click the button second time (loading icon is displayed)
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull Master Branch:
      wip-MDL-33721-master

      Description

      When browsing a repository (Dropbox in my case) and selecting a file, there is no confirmation or loading screen and the button 'Select this file' is still active. Which means that each click on it will retrieve one more copy from the repository.

      Ideally a loading icon should pop and the button should be disabled.

      1. Set up your Dropbox repository
      2. Go to your private files and click add
      3. Navigate to a file in your Dropbox repository and select it
      4. Click 'Select this file'

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Jul/12