From f5b565b284d69614cd225f1c8580aeeaba10138a Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Sat, 21 Feb 2015 23:32:00 +0000 Subject: [PATCH] fix exception in bad http request on portal details --- code/portal_detail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/portal_detail.js b/code/portal_detail.js index 7031af26..03af3d67 100644 --- a/code/portal_detail.js +++ b/code/portal_detail.js @@ -84,7 +84,7 @@ var handleResponse = function(guid, data, success) { window.runHooks ('portalDetailLoaded', {guid:guid, success:success, details:dict}); } else { - if (data.error == "RETRY") { + if (data && data.error == "RETRY") { // server asked us to try again portalDetail.request(guid); } else {