Fix bug #6219. Js error  on non cardwall pages

Change-Id: I1a74c1adbb76b8ac374295183b3848717b44fa01
Merge commit 'refs/changes/09/1909/1' of http://gerrit.tuleap.net/tuleap into HEAD

* http://gerrit.tuleap.net/tuleap:
  Fix bug #6219. Js error  on non cardwall pages

Change-Id: Ibfb15c1648a2f32a5baa16f457375759bf01bea3
This is 6.10.99.16

Change-Id: I301174cc6d2db1ca82e5a97a45a7518a73c850e4