Closed piya23300 closed 9 years ago
You are using the wrong callback, use btnUploader.fileupload().on('fileuploadprocessalways', (e, data)-> …)
and it'll work. I think you'll have to use the on('fileuploadeventname')
syntax, because the event is triggered asynchronously by the process plugin.
I use this gem at master branch.
I have a problem. preview not working. I found that file object doesn't has preview method.
when always callback work and than I print log of
file
objectat demo https://blueimp.github.io/jQuery-File-Upload/basic-plus.html file has preview method
but ... at my project file doesn't has preview method
Cloud you help me please? Below is my code.
at application.js
at video_uploader.coffee
at _form.html.erb