summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-10 17:13:24 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-10 17:13:24 +0000
commit3718e3f5fb54c4ad54ed313d59ff82c9941fed26 (patch)
treeefa8c10288e05f192d95dfa45923a218141a4f89
parent9ebf2f9469744b8cedfcfe0de7704506c75bf6aa (diff)
Fixing new window logic
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1553 4979c152-3d1c-0410-bac9-87ea11338e46
-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 {