From 935402a2386230616da821a7ef15631c9d02ccbf Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" <> Date: Tue, 24 Jul 2007 04:07:09 +0000 Subject: Bug 365115 i think we should default to TB (whatever TB means? topbottom?) for dependency graphs r=mkanat a=mkanat --- showdependencygraph.cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'showdependencygraph.cgi') diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index 4842f484d..4e9299a73 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -95,13 +95,13 @@ sub AddLink { } # The list of valid directions. Some are not proposed in the dropdrown -# menu despite they are valid ones. +# menu despite the fact that they are valid. my @valid_rankdirs = ('LR', 'RL', 'TB', 'BT'); -my $rankdir = $cgi->param('rankdir') || "LR"; +my $rankdir = $cgi->param('rankdir') || 'TB'; # Make sure the submitted 'rankdir' value is valid. if (lsearch(\@valid_rankdirs, $rankdir) < 0) { - $rankdir = 'LR'; + $rankdir = 'TB'; } my $display = $cgi->param('display') || 'tree'; -- cgit v1.2.3-24-g4f1b