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