don't halt the page load while waiting for this
This commit is contained in:
parent
ed4b62dc71
commit
15f78d9883
@ -228,6 +228,7 @@ class Setup extends SimpleExtension {
|
||||
checkbox.disabled = true;
|
||||
out_span.innerHTML = '(testing...)';
|
||||
|
||||
$(document).ready(function() {
|
||||
http_request = getHTTPObject();
|
||||
http_request.open('GET', '$test_url', false);
|
||||
http_request.send(null);
|
||||
@ -240,6 +241,7 @@ class Setup extends SimpleExtension {
|
||||
checkbox.disabled = true;
|
||||
out_span.innerHTML = '(test failed)';
|
||||
}
|
||||
});
|
||||
</script>";
|
||||
$sb = new SetupBlock("General");
|
||||
$sb->position = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user