missed some parts of Bug 78605 before... still r=bz sr=jag

git-svn-id: svn://10.0.0.236/trunk@146769 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbiesinger%web.de
2003-09-11 15:45:52 +00:00
parent da1b14c2e3
commit 8d1267ba0c

View File

@@ -617,10 +617,15 @@ nsProgressDialog.prototype = {
// If the "keep dialog open" box is checked, then update dialog.
if ( this.dialog && this.dialogElement( "keep" ).checked ) {
// Indicate completion in status area.
this.setValue( "status", this.replaceInsert( this.getString( "completeMsg" ),
1,
this.formatSeconds( this.elapsed/1000 ) ) );
var string = this.getString( "completeMsg" );
string = this.replaceInsert( string,
1,
this.formatSeconds( this.elapsed/1000 ) );
string = this.replaceInsert( string,
2,
this.target.fileSize >> 10 );
this.setValue( "status", string);
// Put progress meter at 100%.
this.percent = 100;