diff --git a/htdocs/Utils/DsRestAPI/DsRestAPIComm.js b/htdocs/Utils/DsRestAPI/DsRestAPIComm.js index 3f983c371591754829a7a022d60dc92abde00664..8eb23a599f44a0347baebffcab8c4058d91ef8dd 100644 --- a/htdocs/Utils/DsRestAPI/DsRestAPIComm.js +++ b/htdocs/Utils/DsRestAPI/DsRestAPIComm.js @@ -58,7 +58,7 @@ function CDsRestAPIComm(p_extension) { { try { var contentlist = JSON.parse(data).contentList; - if (contentlist.length == 1 && contentlist[0].node.val == "timeout") + if (contentlist.length == 1 && contentlist[0].node != undefined && contentlist[0].node.val == "timeout") { mThis.handleError("Timeout received from server", "Overload", aHandler, end, start); }