]> git.mxchange.org Git - mailer.git/blobdiff - js/install-common.js
Used 'network' and 'cache' in same file name, fixed proxy config language string
[mailer.git] / js / install-common.js
index f2cc0b7be89fad854b447d6865a66bee0cce0ec1..cb8af56acac7e947f6ad0e999cbb4603bc0a4947 100644 (file)
@@ -36,6 +36,7 @@ var failedStep = '';
 installationSteps[0] = 'import_tables_sql';
 installationSteps[1] = 'import_menu_sql';
 installationSteps[2] = 'install_extensions';
+installationSteps[3] = 'register_first_admin';
 
 // Always keep as last step
 installationSteps[installationSteps.length] = 'write_local_config';
@@ -91,7 +92,10 @@ function doInstallationLoop () {
        if (counterSuccess != installationSteps.length) {
                // Display error message
                displayErrorWindow('install', getAjaxContent() + ':' + counterSuccess + '/' + installationSteps.length + ':' + failedStep);
-       } // END - if
+       } else {
+               // Redirect to admin.php
+               document.location.href = 'admin.php';
+       }
 }
 
 // Sends an "installation step" request out