fires if an error has occured during some operation
requestData | object | the data sent with the request |
response | string | the server response |
$$("files").attachEvent("onErrorResponse", function(requestData,response){
var action = requestData.action;
// your code
return true;
});
Returning false from the event handler will block further processing, and the error handler will not be executed (after an error, File Manager reloads the data, so it will not be reloaded).
Back to top