forked from leppert/remotipart
-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Html in response instead of Json #136
Comments
I ran into this, and it was because jquery fileupload was also in the Gemfile. It also wraps the result in a textarea, so the result gets double-wrapped in textarea tags. In my case I was able to remove jquery fileupload from the project. |
I have this problem as well for a CSV download. Any way to disable the textarea wrapping? |
I am dealing with the same issue and #85 also doesn't solve for me. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
I am using Remotipart to upload files in my project.
Here is my form:
In my controller I use active model serializers to generate json:
Then I parse it and use handlebars templates:
Everything works perfect if I don't attach file, but if a file attached I get this in my response:
I read the topic #85 but it didn't help.
Is there a way for remotipart not to overwrite the response?
The text was updated successfully, but these errors were encountered: