diff --git a/gemp-lotr/gemp-lotr-web/src/main/webapp/includes/changeLog.html b/gemp-lotr/gemp-lotr-web/src/main/webapp/includes/changeLog.html index 3703413c8..bfe8a9f9c 100644 --- a/gemp-lotr/gemp-lotr-web/src/main/webapp/includes/changeLog.html +++ b/gemp-lotr/gemp-lotr-web/src/main/webapp/includes/changeLog.html @@ -4,6 +4,7 @@ - Increased the chat timeout to 30 seconds for in-game channels to make it less possible to lose connection due to connectivity problem. - "Corsair Lookout" now puts the RAIDER tokens on the selected card, rather than on itself. +- The dialogs open during game no longer will have their buttons focused, so no accidental actions will be possible. 30 Nov. 2011 - When instructed to choose a card to heal/wound X times, a card with vitality/wounds <X can be chosen, as long as 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 68482a39b..fd5c8226d 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 @@ -995,6 +995,7 @@ var GempLotrGameUI = Class.extend({ }); this.smallDialog.dialog("open"); + $('.ui-dialog :button').blur(); }, multipleChoiceDecision: function(decision) { @@ -1023,6 +1024,7 @@ var GempLotrGameUI = Class.extend({ } this.smallDialog.dialog("open"); + $('.ui-dialog :button').blur(); }, createCardDiv: function(card, text, foil) { @@ -1190,6 +1192,7 @@ var GempLotrGameUI = Class.extend({ this.cardActionDialog.dialog("open"); this.arbitraryDialogResize(false); + $('.ui-dialog :button').blur(); }, // Choosing one action to resolve, for example phase actions @@ -1456,6 +1459,7 @@ var GempLotrGameUI = Class.extend({ this.cardActionDialog.dialog("open"); this.arbitraryDialogResize(false); + $('.ui-dialog :button').blur(); }, // Choosing some number of cards, for example to character