From 86caef77b21e46f7a1ff49367dbae811b2bbb23c Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Fri, 17 Apr 2020 02:29:20 -0500 Subject: [PATCH] fix(plg): use window.location.href instead of just location --- dynamix.unraid.net.plg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamix.unraid.net.plg b/dynamix.unraid.net.plg index 6fd8d6f5e..f99ca9b7a 100644 --- a/dynamix.unraid.net.plg +++ b/dynamix.unraid.net.plg @@ -866,7 +866,7 @@ function handleMessage(e) { hideRegWizard(function () { $.get('/webGui/include/InstallKey.php', {url: data.license}, function() { console.log('New license key installed: ' + data.license); - setTimeout(function(){ location = '/Main'; }, 1000); + setTimeout(function(){ window.location.href = '/Main'; }, 1000); }).fail(function() { console.error('Failed to license new key: ' + data.license); });