diff options
author | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2009-07-09 16:34:07 +0000 |
---|---|---|
committer | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2009-07-09 16:34:07 +0000 |
commit | 5bff0a3288bd2b5e1f1030c6e47430735cd09463 (patch) | |
tree | 03695e33968feafec1d2831dd3926cf09d881259 /BKUOnline/src/main/webapp/applet.jsp | |
parent | 677021e29d773f51c3ffadbb75e6639eca01980f (diff) | |
download | mocca-5bff0a3288bd2b5e1f1030c6e47430735cd09463.tar.gz mocca-5bff0a3288bd2b5e1f1030c6e47430735cd09463.tar.bz2 mocca-5bff0a3288bd2b5e1f1030c6e47430735cd09463.zip |
[#393] loading of default background fails
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@407 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUOnline/src/main/webapp/applet.jsp')
-rw-r--r-- | BKUOnline/src/main/webapp/applet.jsp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/BKUOnline/src/main/webapp/applet.jsp b/BKUOnline/src/main/webapp/applet.jsp index 0d8dc8b8..5564df2e 100644 --- a/BKUOnline/src/main/webapp/applet.jsp +++ b/BKUOnline/src/main/webapp/applet.jsp @@ -36,7 +36,9 @@ : (Integer) session.getAttribute("appletWidth"); int height = session.getAttribute("appletHeight") == null ? 130 : (Integer) session.getAttribute("appletHeight"); - String backgroundImg = (String) session.getAttribute("appletBackground"); + String backgroundImg = session.getAttribute("appletBackground") == null + ? "../img/ChipperlingCutoff.png" + : (String) session.getAttribute("appletBackground"); String guiStyle = (String) session.getAttribute("appletGuiStyle"); String locale = (String) session.getAttribute("locale"); String extension = (String) session.getAttribute("extension"); |