diff --git a/freeciv-web/src/main/webapp/javascript/action_dialog.js b/freeciv-web/src/main/webapp/javascript/action_dialog.js
index 39a88ed99..67af62d2f 100644
--- a/freeciv-web/src/main/webapp/javascript/action_dialog.js
+++ b/freeciv-web/src/main/webapp/javascript/action_dialog.js
@@ -229,6 +229,13 @@ function popup_action_selection(actor_unit, action_probabilities,
action_probabilities)
+ "'>";
}
+ if (action_probabilities[ACTION_JOIN_CITY] != 0) {
+ dhtml += "";
+ }
if (action_probabilities[ACTION_SPY_BRIBE_UNIT] != 0) {
dhtml += "