From 3c60e2a78464948038911b23a52a495a2e2c5fbf Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Thu, 24 Jan 2019 13:12:04 -0500 Subject: [PATCH] (js) Improve CAS handling Fixes #4468 --- UI/WebServerResources/js/Common/Common.app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/WebServerResources/js/Common/Common.app.js b/UI/WebServerResources/js/Common/Common.app.js index f9808847a..35e4e78e4 100644 --- a/UI/WebServerResources/js/Common/Common.app.js +++ b/UI/WebServerResources/js/Common/Common.app.js @@ -291,7 +291,7 @@ // When expecting JSON but receiving HTML, assume session has expired and reload page if (response && /^application\/json/.test(response.config.headers.Accept) && /^[\n\r ]*/.test(response.data)) { - $window.location.reload(true); + $window.location.href = $window.ApplicationBaseURL; return $q.reject(); } return response;