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:
@@ -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;
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
}
|
||||
|
||||
|
||||
if(document.layers) {
|
||||
if (typeof document.layers != 'undefined') {
|
||||
// 4.x
|
||||
printLayer($tree1);
|
||||
document.write("<hr>");
|
||||
|
||||
Reference in New Issue
Block a user