Bug 86217 - javascript strict warnings in sendProgress.js

patch by caillon@returnzero.com r=hwaara,varada sr=sspitzer
This commit is contained in:
timeless%mac.com 2001-10-31 23:17:44 +00:00
parent 1d47cc3acb
commit 0daf9ec30a

View File

@ -125,7 +125,7 @@ var progressListener = {
function getString( stringId ) {
// Check if we've fetched this string already.
if ( !dialog.strings[ stringId ] ) {
if (!(stringId in dialog.strings)) {
// Try to get it.
var elem = document.getElementById( "dialog.strings."+stringId );
try {
@ -196,7 +196,7 @@ function onLoad() {
moveToAlertPosition();
//We need to delay the set title else dom will overwrite it
return window.setTimeout(SetTitle, 0, subject);
window.setTimeout(SetTitle, 0, subject);
}
function onUnload()