fix for #18364 - get this string from the string bundle r=sspitzer

This commit is contained in:
alecf%netscape.com 2000-05-25 04:05:40 +00:00
parent 8a645dedd3
commit 2dbc5b7ca9

View File

@ -1,4 +1,4 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
@ -226,13 +226,16 @@ nsMsgStatusFeedback.prototype =
},
StopMeteors : function()
{
dump("stopping meteors 1\n");
if (!gStatusBar) gStatusBar = document.getElementById("statusbar-icon");
if(!gThrobber) gThrobber = document.getElementById("navigator-throbber");
dump("stopping meteors 1\n");
if (!gStatusBar)
gStatusBar = document.getElementById("statusbar-icon");
if(!gThrobber)
gThrobber = document.getElementById("navigator-throbber");
// Record page loading time.
var elapsed = ( (new Date()).getTime() - startTime ) / 1000;
var msg = "Document: Done (" + elapsed + " secs)";
var msg = Bundle.GetStringFromName("documentDonePrefix") +
elapsed + Bundle.GetStringFromName("documentDonePostfix");
dump( msg + "\n" );
window.MsgStatusFeedback.ShowStatusString(msg);
defaultStatus = msg;