// 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');
}
// 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');
// 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) {