You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I do the request its response's status and statusText are still 200 and "OK" even if the server side script return a 500 error (or anyother error code).
Anyway, the response content is fine.
The text was updated successfully, but these errors were encountered:
To expand on what @cmlenz is saying, you need to do some server-side scripting to detect when your form has been submitted via the jquery-iframe-transport's iframe, and have it return the response status and code in the body of your response so that your front-end code can parse it out.
For example, the remotipart gem does exactly this in Rails via a Rack Middleware, so that you don't need any custom code in your app to do this.
When I do the request its response's status and statusText are still 200 and "OK" even if the server side script return a 500 error (or anyother error code).
Anyway, the response content is fine.
The text was updated successfully, but these errors were encountered: