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 | |
parent | 025a06c429aa15672534ef3a1c7cb51dec89c29c (diff) | |
download | bugs-935402a2386230616da821a7ef15631c9d02ccbf.tar bugs-935402a2386230616da821a7ef15631c9d02ccbf.tar.gz bugs-935402a2386230616da821a7ef15631c9d02ccbf.tar.bz2 bugs-935402a2386230616da821a7ef15631c9d02ccbf.tar.xz bugs-935402a2386230616da821a7ef15631c9d02ccbf.zip |
Bug 365115 i think we should default to TB (whatever TB means? topbottom?) for dependency graphs
r=mkanat a=mkanat
-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'; |