зеркало из https://github.com/mozilla/pjs.git
fixing two issues with bug 380118 patch done earlier identified during
production tinderbox upgrade - need $buildtree to get full path to logfile when doing -f check - should not have removed comment url if logfile does not exist r=reed,r=justdave
This commit is contained in:
Родитель
e7680abbdb
Коммит
459cc861f8
|
@ -335,7 +335,7 @@ BEGIN {
|
|||
my $logfile = $br->{logfile};
|
||||
my $buildtree = $br->{td}->{name};
|
||||
|
||||
my $logfileexists = ( -f $logfile ? 1 : 0 );
|
||||
my $logfileexists = ( -f "$buildtree/$logfile" ? 1 : 0 );
|
||||
|
||||
print "<tt>\n";
|
||||
|
||||
|
@ -872,10 +872,11 @@ var blurb = "<B>" + builds[buildindex] + "</B><BR>";
|
|||
|
||||
if (logfileexists) {
|
||||
blurb = blurb + "<A HREF=" + logurl + ">View Brief Log</A><BR>"
|
||||
+ "<A HREF=" + logurl + "&fulltext=1"+">View Full Log</A><BR>"
|
||||
+ "<A HREF=" + commenturl + ">Add a Comment</A>";
|
||||
+ "<A HREF=" + logurl + "&fulltext=1"+">View Full Log</A><BR>";
|
||||
}
|
||||
|
||||
blurb = blurb + "<A HREF=" + commenturl + ">Add a Comment</A>";
|
||||
|
||||
if (typeof document.layers != 'undefined') {
|
||||
var q = document.layers["logpopup"];
|
||||
q.top = e.target.y - 6;
|
||||
|
|
Загрузка…
Ссылка в новой задаче