FLUID-4134: HTML5 Uploader needs to conform to onFileSuccess and onFileError API semantics

Metadata

Source
FLUID-4134
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Mike Lam
Reporter
Mike Lam
Created
2011-03-07T14:51:01.979-0500
Updated
2011-03-15T11:17:33.857-0400
Versions
  1. 1.3.1
Fixed Versions
  1. 1.4
Component
  1. Uploader

Description

HTML5 Uploader needs to conform to onFileSuccess and onFileError API semantics.

The SWFUpload onFileError event receives three arguments:
1. The File object
2. An error code which is SWFUpload's HTTP_ERROR
3. The HTTP response code as a String.

The SWFUpload onFileSuccess event receives three arguments:
1. The File object
2. The response from the server
3. the Boolean value true - response received from the server. (We will be ignoring this last argument since it will not be useful in our implementation)

Comments