Skip to content

Node.js based forum software built for the modern web

add installing notice and refresh

Barış Soner Uşaklı4e495adcd743
diff --git a/public/src/installer/install.js b/public/src/installer/install.js
index 201905a3c1..596d6404db 100644
--- a/public/src/installer/install.js
+++ b/public/src/installer/install.js
@@ -16,6 +16,11 @@ $('document').ready(function () {
$('#launch').on('click', launchForum);
+ if ($('#installing').length) {
+ setTimeout(function () {
+ window.location.reload(true);
+ }, 5000);
+ }
function setupInputs() {
$('form').on('focus', '.form-control', function () {
diff --git a/src/views/install/index.tpl b/src/views/install/index.tpl
index 51dfb7081b..ceb90d4b43 100644
--- a/src/views/install/index.tpl
+++ b/src/views/install/index.tpl
@@ -115,6 +115,13 @@
</form>
</div>
+ <!-- IF installing -->
+ <div id="installing" class="container">
+ <p>
+ <h1>Hang tight! Your NodeBB is being installed.</h1>
+ </p>
+ </div>
+ <!-- ENDIF installing -->
<div class="container <!-- IF !success -->hide<!-- ENDIF !success -->">
<p>