summaryrefslogtreecommitdiffstats
path: root/showdependencygraph.cgi
diff options
context:
space:
mode:
authortimeless%mozdev.org <>2007-07-24 06:07:09 +0200
committertimeless%mozdev.org <>2007-07-24 06:07:09 +0200
commit935402a2386230616da821a7ef15631c9d02ccbf (patch)
tree776046365e9fb0b72aeaf8ac37fbdaa4ce9cb746 /showdependencygraph.cgi
parent025a06c429aa15672534ef3a1c7cb51dec89c29c (diff)
downloadbugzilla-935402a2386230616da821a7ef15631c9d02ccbf.tar.gz
bugzilla-935402a2386230616da821a7ef15631c9d02ccbf.tar.xz
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-xshowdependencygraph.cgi6
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';