Fix: Re-enable smart test buttons after completion of test

This commit is contained in:
Squidly271
2025-05-24 00:30:46 -04:00
committed by GitHub
parent e2551e7e9b
commit 8b74ea5962

View File

@@ -93,8 +93,8 @@ function testUpdate(init) {
if (!init) timers.testUpdate = setTimeout(testUpdate,3000);
} else {
if ($('#smart_selftest').length) $('#smart_selftest').html('');
$('#short_test').val("_(Start)_");
$('#long_test').val("_(Start)_");
$('#short_test').val("_(Start)_").removeAttr('disabled');
$('#long_test').val("_(Start)_").removeAttr('disabled');
if (!init) {
$.removeCookie('test.<?=$dev?>');
}