From 4823b2746e0c0e2076a1f99f07c75c9cacf306ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 9 Aug 2018 15:19:58 +0200 Subject: [PATCH] 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(-) diff --git a/core/js/update.js b/core/js/update.js index 9562c7b2e4785..eb65336229ef5 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); } });