We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When submitting an attachment, the next page is blank.
this is because the client doesn't say that it will accept javascript as a response.
Here is a work around
$(function() {
$.ajaxSetup({ 'beforeSend': function(xhr) { xhr.setRequestHeader("Accept", "text/javascript"); } });
});
See if this issue goes away in Rails 3.1
rails/jquery-ujs#52
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When submitting an attachment, the next page is blank.
this is because the client doesn't say that it will accept javascript as a response.
Here is a work around
$(function() {
$.ajaxSetup({
'beforeSend': function(xhr) {
xhr.setRequestHeader("Accept", "text/javascript");
}
});
});
See if this issue goes away in Rails 3.1
rails/jquery-ujs#52
The text was updated successfully, but these errors were encountered: