diff options
author | timeless%mozdev.org <> | 2007-07-24 04:07:09 +0000 |
---|---|---|
committer | timeless%mozdev.org <> | 2007-07-24 04:07:09 +0000 |
commit | 935402a2386230616da821a7ef15631c9d02ccbf (patch) | |
tree | 776046365e9fb0b72aeaf8ac37fbdaa4ce9cb746 /showdependencygraph.cgi | |
parent | Bug 383595 "allows to" isn't correct (diff) | |
download | bugzilla-935402a2386230616da821a7ef15631c9d02ccbf.tar.gz bugzilla-935402a2386230616da821a7ef15631c9d02ccbf.tar.bz2 bugzilla-935402a2386230616da821a7ef15631c9d02ccbf.zip |
Bug 365115 i think we should default to TB (whatever TB means? topbottom?) for dependency graphs
r=mkanat a=mkanat
Diffstat (limited to 'showdependencygraph.cgi')
-rwxr-xr-x | showdependencygraph.cgi | 6 |
1 files changed, 3 insertions, 3 deletions
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'; |