-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Example breaks against latest gem #13
Comments
Same here! |
@rschmitty - try this. format.json { render json: [@upload.to_jq_upload].to_json, status: :created, location: @Upload } to: format.json { render json: {files: [@upload.to_jq_upload]}, status: :created, location: @Upload } And I made the same thing on my app. |
ah cool thanks @Rogerio! I'll leave this open so author is aware |
I, this change, putting files: [..., resolves the problem after the create, but I still can't see the ready for download files, the ones that we already uploaded. I can see by the log that they are saved, but never showned. I still get the error Uncaught TypeError: Cannot call method '_adjustMaxNumberOfFiles' of undefined. any ideias? |
When upgrading to the latest main gem https://github.com/tors/jquery-fileupload-rails the javascript no longer works
Uncaught TypeError: Cannot call method '_adjustMaxNumberOfFiles' of undefined
Reverting to the gem version specified in this example fixes it, I kept all other gem files static
The text was updated successfully, but these errors were encountered: