Skip to content

Grading queue #261

@professor

Description

@professor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions