FLUID-1819: Uploader allows keyboard-triggered removal of files after upload

Metadata

Source
FLUID-1819
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Eli Cochran
Reporter
Anastasia Cheetham
Created
2008-11-18T14:05:59.000-0500
Updated
2009-06-03T13:46:27.000-0400
Versions
  1. 0.6beta1
  2. 0.6
  3. 0.7
Fixed Versions
  1. 0.8
Component
  1. Uploader

Description

Desired behaviour for the Uploader is to prevent users from removing files from the file queue after upload. This is the current behaviour using the mouse, but the keyboard Delete key used to remove files from the queue is still active and working after upload.

Comments

  • Eli Cochran commented 2008-11-18T15:30:10.000-0500

    Need a fix for FLUID-1824 to fix

  • Eli Cochran commented 2009-01-16T12:20:40.000-0500

    Using Antranig's very clean and easy to use Fluid.enabled() method, I have now rendered uploaded rows undeletable, thus closing this bug.

  • Justin Obara commented 2009-01-19T08:40:53.000-0500

    It seems that you can still remove the uploaded files using a combination of the keyboard and mouse.

    Use the mouse to click on the check mark.
    Using the keyboard tap the delete key.

    Notice that the file is removed from the queue

  • Eli Cochran commented 2009-01-23T14:33:45.000-0500

    Added a bit of code to the file queue remove file methods to check to see if a file have been already completed, and therefor should not be removed.

    This only applies to user initiated removes which use removeFileForRow() and not uploader instigated removes which use removeRowForFile(). So it is still possible for the component to remove files for some other reason.