diff --git a/Site5/Pages/v5/Public/Initialize.aspx b/Site5/Pages/v5/Public/Initialize.aspx index c543b6e3..deb95008 100644 --- a/Site5/Pages/v5/Public/Initialize.aspx +++ b/Site5/Pages/v5/Public/Initialize.aspx @@ -326,10 +326,47 @@ return isValid; } - // Start by disabling Finish + // Disable Finish and Next $('a.buttonFinish').addClass("buttonDisabled"); + DisableNext(); + // Run threading tests + + $.ajax({ + type: "POST", + url: "/Pages/v5/Public/Initialize.aspx/BeginTestThreads1", // TODO: Remove the 1 + data: "{}", + contentType: "application/json; charset=utf-8", + dataType: "json", + success: function () { + setTimeout(function() { + $.ajax({ + type: "POST", + url: "/Pages/v5/Public/Initialize.aspx/CheckThreadsWork", + data: "{}", + contentType: "application/json; charset=utf-8", + dataType: "json", + success: function(msg) { + if (msg.d) { + $('#DivStep1Diagnostics').fadeOut(200, 'swing', function() { + $('#DivStep1TestSuccess').fadeIn(200); + EnableNext(); + }); + } else { + $('#DivStep1Diagnostics').fadeOut(200, 'swing', function() { + $('#DivStep1FaultThreading').fadeIn(200); + }); + } + } + }); + + }, 2000); + }, + error: function() { + $('#DivStep1Diagnostics').fadeOut(200, 'swing', function () { $('#DivStep1FaultAjax').fadeIn(200); }); + } + }); }); // end of document.ready var disableNext = false; @@ -584,21 +621,36 @@ -
Congratulations! Since you're reading this, you have successfully installed the Swarmops packages and set up an Apache virtual server using mod_mono.
- -However, before we proceed, we need to make sure that you are indeed the sysadmin of this server, and not a remote bot who just discovered an unfinished Swarmops installation. To cross that bridge, answer these three simple questions:
Swarmops is making a few test calls to your server to check its configuration. Please wait a few seconds.
+