From 592f55a550b54a874d560324a794b59e92e6e1a0 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 1 Oct 2018 10:39:00 -0400 Subject: [PATCH] do a location.reload instead of trying to guess what the current url is. Should solve permission denied problem when watching live view and auth times out. --- web/skins/classic/js/skin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/skins/classic/js/skin.js b/web/skins/classic/js/skin.js index 9e82a9c8a..2656e353a 100644 --- a/web/skins/classic/js/skin.js +++ b/web/skins/classic/js/skin.js @@ -199,7 +199,7 @@ if ( currentView != 'none' && currentView != 'login' ) { console.log( "Request Failed: " + err ); // The idea is that this should only fail due to auth, so reload the page // which should go to login if it can't stay logged in. - window.location.href = thisUrl+'?view='+currentView; + window.location.reload( true ); }); }