From 23baadeb99a44bbf1c6f8c212cc45fb4a4cfec45 Mon Sep 17 00:00:00 2001 From: "slamm%netscape.com" Date: Tue, 16 Mar 1999 23:30:16 +0000 Subject: [PATCH] Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=3699. Renamed tree array to trees. Added 'var' for local variables. git-svn-id: svn://10.0.0.236/trunk@24233 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/tinderbox/showbuilds.cgi | 28 +++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/mozilla/webtools/tinderbox/showbuilds.cgi b/mozilla/webtools/tinderbox/showbuilds.cgi index 9639b81cd47..159bca9b61b 100755 --- a/mozilla/webtools/tinderbox/showbuilds.cgi +++ b/mozilla/webtools/tinderbox/showbuilds.cgi @@ -512,7 +512,7 @@ if( parseInt(navigator.appVersion) < 4 ){ } function js_who_menu(tree,n,d,mindate,maxdate) { - who_link = "../registry/who.cgi?email=" + escape(n) + var who_link = "../registry/who.cgi?email=" + escape(n) + "&t0=" + escape("Last check-in") + "&u0=" + escape(js_qr(tree,mindate,maxdate,n)) + "&t1=" + escape("Check-ins within 24 hours") @@ -523,7 +523,7 @@ function js_who_menu(tree,n,d,mindate,maxdate) { return false; } - l = document.layers['popup']; + var l = document.layers['popup']; l.src = who_link; ENDJS #l.document.write( @@ -553,7 +553,7 @@ function js_what_menu(d,noteid,logfile,errorparser,buildname,buildtime) { return true; } - l = document.layers['popup']; + var l = document.layers['popup']; l.document.write( "
" + note[noteid] + @@ -561,7 +561,7 @@ function js_what_menu(d,noteid,logfile,errorparser,buildname,buildtime) { l.document.close(); l.top = d.y-10; - zz = d.x; + var zz = d.x; if( zz + l.clip.right > window.innerWidth ){ zz = (window.innerWidth-30) - l.clip.right; if( zz < 0 ){ @@ -574,7 +574,7 @@ function js_what_menu(d,noteid,logfile,errorparser,buildname,buildtime) { } note = new Array(); -tree = new Array(); +trees = new Array(); build = new Array(); error = new Array(); @@ -589,27 +589,27 @@ error = new Array();