From 4823b2746e0c0e2076a1f99f07c75c9cacf306ee Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Thu, 9 Aug 2018 15:19:58 +0200 Subject: Redirect to the same page after an update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- core/js/update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/js') diff --git a/core/js/update.js b/core/js/update.js index 9562c7b2e47..eb65336229e 100644 --- a/core/js/update.js +++ b/core/js/update.js @@ -107,7 +107,7 @@ } setTimeout(function () { - OC.redirect(OC.webroot + '/'); + OC.redirect(window.location.href); }, 3000); } }); -- cgit v1.2.3