Bugzilla Bug 118574 JavaScript strict warnings in showbuilds.cg

r=caillon


git-svn-id: svn://10.0.0.236/trunk@111546 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mac.com
2002-01-08 03:11:43 +00:00
parent 3aff0bf32e
commit 423908e3e5
2 changed files with 4 additions and 4 deletions

View File

@@ -624,7 +624,7 @@ sub print_javascript {
if (noDHTML) {
return true;
}
if (document.layers) {
if (typeof document.layers != 'undefined') {
var l = document.layers['popup'];
l.src = d.target.href;
l.top = d.target.y - 6;
@@ -655,7 +655,7 @@ sub print_javascript {
document.location = log_url(logfile);
return false;
}
if (document.layers) {
if (typeof document.layers != 'undefined') {
var l = document.layers['popup'];
l.document.write("<table border=1 cellspacing=1><tr><td>"
+ notes[noteid] + "</tr></table>");
@@ -692,7 +692,7 @@ sub print_javascript {
document.location = logurl;
return false;
}
if (document.layers) {
if (typeof document.layers != 'undefined') {
var q = document.layers["logpopup"];
q.top = e.target.y - 6;

View File

@@ -44,7 +44,7 @@
}
if(document.layers) {
if (typeof document.layers != 'undefined') {
// 4.x
printLayer($tree1);
document.write("<hr>");