Skip to content

Firefox + nginx upload module #3

Description

@a-chernykh

It does not triggering the success event in the Firfox because of the JSON data type. The nginx returns:

new Object({ 'state' : 'uploading', 'received' : 72437, 'size' : 56476961 })

My workaround is to change hardcoded datatype:

options = $.extend({
dataType: "text",

And evalute the response in success handler:

success: function(upload) {
  upload = eval(upload);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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