Commit 935402a2 authored by timeless%mozdev.org's avatar timeless%mozdev.org

Bug 365115 i think we should default to TB (whatever TB means? topbottom?) for dependency graphs

r=mkanat a=mkanat
parent 025a06c4
......@@ -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';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment