Open liftyourgame opened 12 years ago
Which version of the plugin are you using? Because I think I already fixed this problem is the latest version.
Hi Sebastien,
I'm using the version listed on the Grails plugin page: compile ":bootstrap-file-upload:2.1.1"
Also the controller should check the request header to see if the caller accepts application/json instead of checking for XHR
Regards,
Greg
On 6/07/2012 11:33 PM, Sebastien Arbogast wrote:
Which version of the plugin are you using? Because I think I already fixed this problem is the latest version.
Reply to this email directly or view it on GitHub: https://github.com/sarbogast/grails-bootstrap-file-upload/issues/4#issuecomment-6805051
Using IE9 and your controller doesn't work for IE. The POST returns JSON via the Ifram but IE does not know how to render JSON.
Replace the end of the post method line: "render results as JSON" with
Add to Bootstrap init: