summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-01-17 07:38:49 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-01-17 07:38:49 +0000
commitb7f9e65ef17ccb487166cbaed7c3fa9afd626eed (patch)
tree4a7110420fa4b1294ae3f1e3f724eb4c91f567a5 /sca-cpp/trunk/modules
parent7a003f5bbf49082dcf24105aa6f7bc8c6650c255 (diff)
Fix menu bug with Chrome.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1059771 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules')
-rw-r--r--sca-cpp/trunk/modules/edit/htdocs/menu.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/edit/htdocs/menu.html b/sca-cpp/trunk/modules/edit/htdocs/menu.html
index 50bc2371fb..7155e2fc55 100644
--- a/sca-cpp/trunk/modules/edit/htdocs/menu.html
+++ b/sca-cpp/trunk/modules/edit/htdocs/menu.html
@@ -40,7 +40,7 @@ var mdiv = $('menu');
var name = appname();
mdiv.innerHTML = ui.menubar(
append(mklist(ui.menu('Home', '/'), ui.menu('Dashboard', '/dash')),
- isNil(name)? mklist() : mklist(ui.menu('App', '/graph/?app=' + name), ui.menu('Page', '/page/?app=' + name))),
+ (isNil(name) || name == 'undefined')? mklist() : mklist(ui.menu('App', '/graph/?app=' + name), ui.menu('Page', '/page/?app=' + name))),
mklist(ui.menu('Sign out', '/logout')));
</script>