mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
Allowed empty content to be returned from the server
This commit is contained in:
parent
ff1c3b9be1
commit
75651489a7
@ -86,7 +86,7 @@ egw_json_request.prototype.alertFunc = function(_message, _details)
|
||||
/* Internal function which handles the response from the server */
|
||||
egw_json_request.prototype.handleResponse = function(data, textStatus, XMLHttpRequest)
|
||||
{
|
||||
if (data.response)
|
||||
if (data && data.response)
|
||||
{
|
||||
var hasResponse = false;
|
||||
for (var i = 0; i < data.response.length; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user