mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Added error message, if ajax request failed
This commit is contained in:
parent
9f7fd714f5
commit
bf7b241b0c
@ -196,7 +196,9 @@ egw_json_request.prototype.sendRequest = function(_async, _callback, _sender)
|
||||
data: request_obj,
|
||||
dataType: 'json',
|
||||
type: 'POST',
|
||||
success: this.handleResponse});
|
||||
success: this.handleResponse,
|
||||
error: function(_xmlhttp,_err) { alert('Ajax request to '+this.url+'?menuaction='+this.menuaction+' failed: '+_err); }
|
||||
});
|
||||
}
|
||||
|
||||
egw_json_request.prototype.alertFunc = function(_message, _details)
|
||||
|
Loading…
Reference in New Issue
Block a user