summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/menu.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/menu.pl b/scripts/menu.pl
index dec08671..6154fa45 100644
--- a/scripts/menu.pl
+++ b/scripts/menu.pl
@@ -40,6 +40,9 @@ to the drilldown_menu. Otherwise, it routes to expanding_menu.
sub __default {
my ($request) = @_;
+ if ($request->{new}){
+ root_doc($request);
+ }
if ($request->{menubar}){
drilldown_menu($request);
} else {