# HG changeset patch # User Jaroslav Tulach # Date 1249996723 -7200 # Node ID 85a0fad6b3c2aee0fb4f741f13d73001562bc5ea # Parent 58b8db5faf2c17a6a0d59593ebc4b9faa9dc2747 Simple UI for submitting moves (without implementation) diff -r 58b8db5faf2c -r 85a0fad6b3c2 freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java --- a/freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java Tue Aug 11 15:17:23 2009 +0200 +++ b/freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java Tue Aug 11 15:18:43 2009 +0200 @@ -103,7 +103,7 @@ return board(id); } if (type.equals("move")) { - base.path("games").path(id).queryParam("move", direction + directionNext); + base.path("games").path(id).queryParam("move", direction + directionNext).post(); return board(id); } return board(id);