W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

[Bug 17125] Add a FileList.drop(index) method

From: <bugzilla@jessica.w3.org>
Date: Tue, 26 Jun 2012 17:52:09 +0000
Message-Id: <E1SjZvt-0003Pw-FS@jessica.w3.org>
To: public-webapps@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17125

Max Lohrmann <post@wickenrode.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |

--- Comment #4 from Max Lohrmann <post@wickenrode.com> 2012-06-26 17:52:12 UTC ---
> 2. Erroneous files can be eliminated.

This request was specifically because exactly that is not possible.
Once multiple files are selected for an input element you can only drop all of
them at once.

I guess the way Gmail does it is by going "all the way": Getting the File
objects and attaching them to a XmlHttpRequest.

I made this request because I think that should not be necessary. Browsers have
been providing logic for file uploads for years now and making every web
developer write another layer (the one that handles the XmlHttpRequest) on top
of that probably won't make it better.

I think the suggestion as per comment 1 would be enough to solve this problem
and also add a feature that is the logical consequence of having a File object.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Tuesday, 26 June 2012 17:52:17 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:52 GMT