Skip to content
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

Grading queue #261

Open
professor opened this issue Feb 14, 2014 · 0 comments
Open

Grading queue #261

professor opened this issue Feb 14, 2014 · 0 comments

Comments

@professor
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant