blueimp/jQuery-File-Upload — Issue #956: fileuploaddone binding
Author: dougwo
Created: 2012-01-17 21:39:15+00:00
State: open

I have a js function that binds properly. I am uploading audio files and the ajax call I make in the fileuploaddone bind executes properly.

One of the things I do in the ajax call is convert the audio file with ffmpeg. My code is working correctly, but the message in the file upload dialog box get updated BEFORE my ajax call. There needs to be a way to have this message update triggered only after the fileuploaddone bound code is executed. Any suggestions?

Currently it flows like this:

File Upload -> fileupload done call -> print upload completed message -> execute code in fileuploaddone function.

I need it like this

File Upload -> fileupload done call -> execute code in fileuploaddone function -> print upload completed message in dialog.