Oh King! Uploader feature request going through proper channels
Justin
justin.obara at utoronto.ca
Fri Mar 20 13:02:50 UTC 2009
Hi Eli,
My initial reaction is that it is a good feature, but probably not
crucial enough to put into bug parade.
If you or anyone else have more thoughts on this, please feel free to
pass them along.
Justin
On 19-Mar-09, at 7:22 PM, Eli Cochran wrote:
> I'd like to add a new method for FileQueue.js for 1.0. It allows an
> integrator to query the Uploader as to how many files errored. It
> partially mitigates FLUID-2377, allowing us to easily query the
> Uploader during the afterUploadComplete event to see if things
> really are done. With out the method, integrators are going to have
> do this work themselves.
>
> The bulk of the code looks like this:
>
> var getErrorFiles = function (that) {
> return filterFiles(that.files, function (file) {
> return (file.filestatus ===
> fluid.uploader.fileStatusConstants.ERROR);
> });
> };
>
> and at the moment, it won't be used internally by the Uploader but
> we will use it in the Image Gallery server demo and in documentation.
>
> I beg your mercy, oh king. Have pity... OK, I'm going too far.
>
> Thanks for your consideration. patch enclosed.
>
> Your humble servant,
> Eli
>
>
> <FLUID-2377-workaround.a.patch>
>
> . . . . . . . . . . . . . . . . . . .
>
> Eli Cochran
> user interaction developer
> ETS, UC Berkeley
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://fluidproject.org/pipermail/fluid-work/attachments/20090320/52d5e6cb/attachment.html>