Skip to content

json.onError #3

@schloerke

Description

@schloerke

In dvl.ajax.requester['normal' || 'cache'], can you replace the onError callback to call with

normal:
  //...
  complete(xhr.responseText ? textStatus, null)    // complete(textStatus, null)
cache:
  //...
  cb(xhr.responseText ? textStatus, null);               // cb(textStatus, null)

It allows for response body capture, even though it's an error.

Best,
Barret

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