--- a/testsuite/web-framework/functions.js Mon Jan 26 17:35:56 2009 +0000
+++ b/testsuite/web-framework/functions.js Mon Jan 26 17:44:03 2009 +0000
@@ -647,10 +647,11 @@
}
handleSelection(0);
- // initialize skipOnResult
- var nSkipOnResult = document.getElementById("skipOnResult").checked;
- switchSkipOnResult(nSkipOnResult);
-
+ if (displayResult) {
+ // initialize skipOnResult
+ var nSkipOnResult = document.getElementById("skipOnResult").checked;
+ switchSkipOnResult(nSkipOnResult);
+ }
// initialize autostart
var nAutostart = document.getElementById("autostart").checked;
switchAutostart(nAutostart);