onStart not always firing

Archived from the Transloadit support forum. Originally posted on March 3, 2011; details may be outdated, see our docs for current behavior. Original thread

I want users to be able to upload a file (or multiple files) and when the upload has finished they shoud be able to upload some more files. The uploading part is working, but the onStart method is only called the first upload the form is submitted. (onsuccess is called every time as expected)

On my page I’ve added a fro for uploading some files using thse properties:

modal: false
wait: false
autoSubmit: false

Thanks for the report!

I have an idea about what could be causing this, I’ll look into it.

Hi, I just deployed a fix for you:

https://github.com/transloadit/jquery-sdk/commit/REDACTED

The deployed version of our jQuery plugin has been updated with it.

Let me know if that works for you.

Hi,

I’ve tested this using the deployed script (//assets.transloadit.com/js/jquery.transloadit2.js) not the github version but the onStart method still only fires the first time. Thinking it might have something to do with some of my other code, I made a new test page, just containing a file input and the transloadit init code: same problem.

Regards,
Steven

Hi Steven,

sorry, there was a problem with our deployment. It should all be resolved now, can you try again?

--fg

Great, it’s working fine. Thanks for the quick update.

s.

Awesome, and sorry about for problems! Feel free to open another ticket if you have any more questions.