FLUID-1713: Add a new afterUploadComplete event, which should be fired when the whole batch of files is finished uploading.

Metadata

Source
FLUID-1713
Type
Sub-task
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Colin Clark
Reporter
Colin Clark
Created
2008-10-27T19:04:08.000-0400
Updated
2011-02-22T16:27:50.856-0500
Versions
N/A
Fixed Versions
  1. 0.6beta1
Component
  1. Uploader

Description

We need an event that will signal the user when the whole batch of files is finished being uploaded. afterUploadComplete is a good name, however it's already being used mistakenly when a file is complete. Here's a proposal for reworking the events in Uploader 2:

onFileSuccess: when a file has been successfully uploaded
onFileComplete: when a file is fully completely uploaded
onUploadComplete: when the whole batch of files is complete

Comments

  • Colin Clark commented 2008-10-28T16:16:01.000-0400

    afterUploadComplete has been added to the SWFUploadManager. The full list of available events are now:

    events: {
    afterReady: called after the uploader is ready for action,
    onFileDialog: called when the OS file dialog is opened,
    afterFileQueued: called after a file has been added the queue,
    afterFileRemoved: when a file is removed from the queue,
    onQueueError: when an occur occurs while trying to add a file to the queue,
    afterFileDialog: after the OS file dialog is dismissed,
    onUploadStart: when an upload batch is started,
    onFileStart: when a new file starts to be uploaded,
    onFileProgress: called periodically as the upload progresses,
    onFileError: called if an error occurs during the file upload process,
    onFileSuccess: when a file is successfully uploaded,
    afterFileComplete: when a file has completed, either successfully or in error,
    afterUploadComplete: when a batch of files is finished being uploaded
    },

  • Michelle D'Souza commented 2011-02-22T16:27:50.849-0500

    Closing issues that were resolved for 1.0 and earlier releases.