]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 365115 i think we should default to TB (whatever TB means? topbottom?) for depend...
authortimeless%mozdev.org <>
Tue, 24 Jul 2007 04:07:09 +0000 (04:07 +0000)
committertimeless%mozdev.org <>
Tue, 24 Jul 2007 04:07:09 +0000 (04:07 +0000)
r=mkanat a=mkanat

showdependencygraph.cgi

index 4842f484da950d1cb689c7d31fe65a1587dd1d80..4e9299a73e85e43a0b9cfaedaf30e6709702ea22 100755 (executable)
@@ -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';