Oh King! Uploader feature request going through proper channels

Eli Cochran eli at media.berkeley.edu
Thu Mar 19 23:22:48 UTC 2009


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




. . . . . . . . . . .  .  .   .    .      .         .              .                     .

Eli Cochran
user interaction developer
ETS, UC Berkeley


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://fluidproject.org/pipermail/fluid-work/attachments/20090319/71509b27/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FLUID-2377-workaround.a.patch
Type: application/octet-stream
Size: 1192 bytes
Desc: not available
URL: <http://fluidproject.org/pipermail/fluid-work/attachments/20090319/71509b27/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://fluidproject.org/pipermail/fluid-work/attachments/20090319/71509b27/attachment-0001.html>