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

r=mkanat a=mkanat
This commit is contained in:
timeless%mozdev.org 2007-07-23 23:07:09 +00:00
Родитель 1d0cba794b
Коммит 676dd09cfa
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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';