RLG-Web client: refresh the current games list.

Add a refresh button to the list of watchable games.  Also refresh it
if watching fails.
This commit is contained in:
John "Elwin" Edwards 2012-06-20 09:12:26 -07:00
parent f711cdb591
commit f750d9eb34
2 changed files with 2 additions and 0 deletions

View file

@ -603,6 +603,7 @@ function startwatching(gamenumber) {
}
else if (reply.t == 'E') {
debug(1, "Could not watch game " + gamenumber + ": " + reply.s);
getcurrent();
}
};
req.open('POST', '/watch', true);