Nevermind. This bug was caused from the gears init file being included
in the html head - has to be in the body.


On Jun 7, 8:33 am, scottklarr <[email protected]> wrote:
> var data = this.desktop.getDragData(event, 'application/x-gears-
> files');
>
> I am making a drag/drop file uploader script and I ran into a problem
> that I can't seem to find the solution to (is it just me or is the
> "documentation" for gears missing a whole lot? Or am I just looking in
> the wrong place?).
>
> Let's say I drop three files in, file1, file2 and file3. The script
> does it's thing and when they are done uploading, in the same session,
> I then drop file4 in. When I do this, getDragData returns file1, file2
> and file3 again with no sign of file4.
>
> Is there a way to clear the stored DragData information after each
> successful upload?

Reply via email to