Closed arkan closed 11 years ago
Hi,
I'm doing the following. For each upload to S3, I have a template #template-upload which is added to a ul. At the end of the upload, I want:
Regarding the progress bar I can easily patch the javascript, but for the second I've no idea how to achieve this.
I would like to get the context of the concerned template in ajax:success, to update some stuffs with the json got from my server.
However at this place, the context is lost. data.context is undefined.
Any idea ?
Thanks for any input :-)
Nevermind, I changed my way to do. Thanks for the good work on this gem :-)
Can you share how you resolved this problem?
Hi,
I'm doing the following. For each upload to S3, I have a template #template-upload which is added to a ul. At the end of the upload, I want:
Regarding the progress bar I can easily patch the javascript, but for the second I've no idea how to achieve this.
I would like to get the context of the concerned template in ajax:success, to update some stuffs with the json got from my server.
However at this place, the context is lost. data.context is undefined.
Any idea ?
Thanks for any input :-)