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
_______________________________________________________
fluid-work mailing list - [email protected]
To unsubscribe, change settings or access archives,
see http://fluidproject.org/mailman/listinfo/fluid-work