Fixed displayResult...
authorPhilippe Le Hégaret <plh@w3.org>
Fri, 05 Dec 2008 21:26:02 +0000
changeset 36 4f68b4a79d9a
parent 35 82e8158c58a5
child 37 cb33ee457450
Fixed displayResult...
testsuite/web-framework/functions.js
--- a/testsuite/web-framework/functions.js	Fri Dec 05 21:23:41 2008 +0000
+++ b/testsuite/web-framework/functions.js	Fri Dec 05 21:26:02 2008 +0000
@@ -178,7 +178,7 @@
 	    var div = document.getElementById('testobject');
 	    div.innerHTML = '<p><b>Choose a player...</b></p>';	    
 	} else {
-	    if (displayTest) {
+	    if (displayResult) {
 		addResultButtons(test_number);
 	    }
 	    player.startTest(test_number,
@@ -241,7 +241,7 @@
     title.innerHTML = "";
     var descr = document.getElementById("description");
     descr.innerHTML = "";
-    if (displayTest) {
+    if (displayResult) {
 	var p = document.getElementById("result");
 	p.innerHTML = "";
     }