This event is emitted when the response to an AJAX request has been received.
Note that this event will also be emitted when the server signals an
error with an HTTP status like 500
. Only if the request
encounters a fatal error (like a loss of network connectivity),
up:request:offline
is emitted instead.
The event is emitted on the layer that caused the request.
The request.
The response that was received from the server.
The layer this request is associated with.
If this request is intended to update an existing fragment, this is that fragment's layer.
If this request is intended to open an overlay, the associated layer is the future overlay's parent layer.
The link or form element that caused the request.