blueimp/jQuery-File-Upload — Issue #851: Removing cancelled uploads from server (on cancel action)
Author: marcfawzi
Created: 2011-12-07 03:33:17+00:00
State: open

Hi

It would be really nice to have the option of removing cancelled uploads using some option like removeCancelled.

In our app, if the user closes the browser or the tab or reloads the page we take that as them saying they don't care about recovering what has been cancelled already (cancelling is an explicit act on their part.) Seeing all the cancelled uploads show up again after they've been cancelled and removed from the UI is a little confusing and cluttering.

When removeCancelled is set to true, the cancelled uploads should be DELETED from the server upon the user clicking on Cancel icon or the "cancel all" button.

I'd be happy to add that once I get comfortable with the code, but for now I thought I'd outline why it is not expected to see cancelled uploads show up upon page reload.

The behavior is there without enabling resume on add ... I'm not overwriting the add handler, just the fail handler.