diff options
Diffstat (limited to 'sca-cpp/trunk/modules/edit/htdocs/menu.html')
-rw-r--r-- | sca-cpp/trunk/modules/edit/htdocs/menu.html | 2 |
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> |