From bf7834aa84bb763d0ccd5e32f375437e1cd136f0 Mon Sep 17 00:00:00 2001 From: marcins78 Date: Wed, 2 Jan 2013 10:46:28 +0000 Subject: [PATCH] Fixing watch game link. --- .../gemp-lotr-web/src/main/webapp/js/gemp-014/hallUi.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-014/hallUi.js b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-014/hallUi.js index 6527b9289..6c9eb6b71 100644 --- a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-014/hallUi.js +++ b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-014/hallUi.js @@ -416,6 +416,11 @@ var GempLotrHallUI = Class.extend({ } if (status == "PLAYING" && watchable == "true") { + var participantId = getUrlParam("participantId"); + var participantIdAppend = ""; + if (participantId != null) + participantIdAppend = "&participantId=" + participantId; + lastField.append("Watch game"); }