Bug 326462 Time Elapsed column shows NaN:NaN r=biesi sr=jag
git-svn-id: svn://10.0.0.236/trunk@202311 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
5f93587600
commit
0d5f256306
@ -97,7 +97,7 @@ nsDownloadProgressListener.prototype = {
|
||||
if (this.doc.getElementById("TimeElapsed").getAttribute("hidden") != "true") {
|
||||
elapsedCol = elt.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling;
|
||||
// Update elapsed time display.
|
||||
elapsedCol.setAttribute("label", formatSeconds( this.elapsed / 1000, this.doc ));
|
||||
elapsedCol.setAttribute("label", formatSeconds( now / 1000 - aDownload.startTime / 1000000, this.doc ));
|
||||
}
|
||||
// Calculate percentage.
|
||||
var percent;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user