Mercurial > hg > fapweb
diff show.php @ 142:d2e9285b69ad
More work on the party info system.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 23 Oct 2013 00:47:33 +0300 |
parents | 75cf14ee99a7 |
children | c030c3cf0d80 |
line wrap: on
line diff
--- a/show.php Wed Oct 23 00:13:46 2013 +0300 +++ b/show.php Wed Oct 23 00:47:33 2013 +0300 @@ -51,6 +51,16 @@ } +function updateView(txt) +{ + var view = document.getElementById("mainView"+ activeView); + if (view) + { + view.innerHTML = txt; + } +} + + function displayError() { // Increase failure count @@ -110,6 +120,7 @@ setTimeout("tickMain();", 1000); setInterval("tickAnim();", 25); +viewChanged(); </script> <?