summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-08-09 15:19:58 +0200
committerJulius Härtl <jus@bitgrid.net>2018-08-09 15:19:58 +0200
commit4823b2746e0c0e2076a1f99f07c75c9cacf306ee (patch)
treec82dd6501e599847057e5bd898906080b999aaf0 /core/js
parent0757c5298035eebb1b304bff1f1bc2025aa2bf91 (diff)
downloadnextcloud-server-4823b2746e0c0e2076a1f99f07c75c9cacf306ee.tar.gz
nextcloud-server-4823b2746e0c0e2076a1f99f07c75c9cacf306ee.zip
Redirect to the same page after an update
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/update.js2
1 files changed, 1 insertions, 1 deletions
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);
}
});