[bknr-cvs] r1894 - branches/xml-class-rework/projects/mah-jongg/website

Author: hhubner Date: 2006-03-07 01:09:21 -0500 (Tue, 07 Mar 2006) New Revision: 1894 Modified: branches/xml-class-rework/projects/mah-jongg/website/game.xsl Log: Confirm "Undo Last Game" and "End Round" buttons. Modified: branches/xml-class-rework/projects/mah-jongg/website/game.xsl =================================================================== --- branches/xml-class-rework/projects/mah-jongg/website/game.xsl 2006-03-07 06:01:12 UTC (rev 1893) +++ branches/xml-class-rework/projects/mah-jongg/website/game.xsl 2006-03-07 06:09:21 UTC (rev 1894) @@ -93,9 +93,9 @@ <div id="control-buttons"> <xsl:if test="@undo-timestamp != ''"> <input type="hidden" name="undo-timestamp" value="{@undo-timestamp}"/> - <button type="submit" name="action" value="undo">Undo Last Game</button> + <button type="submit" name="action" value="undo" onclick="return confirm('Undo last game entered?');">Undo Last Game</button> </xsl:if> - <button type="submit" name="action" value="clear-round">End Round</button> + <button type="submit" name="action" value="clear-round" onclick="return confirm('End this round?');">End Round</button> </div> </form> </body>
participants (1)
-
bknr@bknr.net