From 5db6eec1f733feda6977091029680a8b12396560 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 26 Dec 2012 18:45:00 +0000 Subject: [PATCH] Fixed :( --- inc/ajax/ajax_installer.php | 4 ++-- js/install-common.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/ajax/ajax_installer.php b/inc/ajax/ajax_installer.php index a1b7ed8568..ecdc4bdebb 100644 --- a/inc/ajax/ajax_installer.php +++ b/inc/ajax/ajax_installer.php @@ -116,7 +116,7 @@ function doAjaxProcessInstall () { // Processes installer request for testing function doAjaxInstallerTest () { // Load the "test passed" template - setAjaxReplyContent(encodeJson(postRequestElement('step').'=OK')); + setAjaxReplyContent(loadTemplate('ajax_test_passed', TRUE)); // All okay if we reach this point setHttpStatus('200 OK'); @@ -188,7 +188,7 @@ function doAjaxInstallerDoStep () { } // Set dummy content - setAjaxReplyContent(loadTemplate('install_step_passed', TRUE, postRequestElement('step'))); + setAjaxReplyContent(encodeJson(postRequestElement('step').'=OK')); // All okay if we reach this point setHttpStatus('200 OK'); diff --git a/js/install-common.js b/js/install-common.js index 2983c65431..af478d3046 100644 --- a/js/install-common.js +++ b/js/install-common.js @@ -55,8 +55,8 @@ function doFinishInstallation () { // Display process window displayProcessWindow('install', ''); - // Start installation loop - doInstallationLoop(); + // Start installation loop delayed + window.setTimeout("doInstallationLoop()", 500); // Is success counter same as array size if (counterSuccess != installSteps.length) { -- 2.39.5