diff --git a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gameUi.js b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gameUi.js index cc280e7b9..7e026b411 100644 --- a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gameUi.js +++ b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gameUi.js @@ -169,23 +169,28 @@ var GempLotrGameUI = Class.extend({ .dialog({ autoOpen: false, closeOnEscape: false, - resizable: false, + resizable: true, minHeight: 80 }); + this.dialogInstance.bind("resize", function() { + var width = $(this).width(); + var height = $(this).height(); + this.specialGroup.setBounds(this.padding, this.padding, width - 2 * this.padding, height - 2 * this.padding); + }); + $(".ui-dialog-titlebar-close").hide(); this.infoDialog = $("
") .dialog({ autoOpen: false, closeOnEscape: true, - resizable: false, + resizable: true, title: "Card information", minHeight: 80, minWidth: 200, width: 600, - height: 300, - maxHeight: 300 + height: 300 }); }, diff --git a/gemp-lotr/todo.txt b/gemp-lotr/todo.txt index c28a19315..dfca995c1 100644 --- a/gemp-lotr/todo.txt +++ b/gemp-lotr/todo.txt @@ -10,7 +10,9 @@ and go with different selection. 15. Add join game screen, where players can choose to play and get paired automatically when a pair becomes available. 16. Add an option to view an ongoing game. 17. Timeout users from ChatServer the same way they are timed out of GameServer. -18. +18. Add display of site where player is on adventure path. +19. Add filtering cards to deck-builder. +20. DONE: 1. Introduce AbstractPermanent into Blueprint hierarchy.