checking in changes for nsDownloadManagerListener.js to fix bug 240835.
these were originally part of my patch for bug 24867, but somehow i forgot to check them in with that patch :-( git-svn-id: svn://10.0.0.236/trunk@155183 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
fa74a23188
commit
492c408f23
@ -59,7 +59,7 @@ nsDownloadProgressListener.prototype = {
|
||||
{
|
||||
if (aStateFlags & Components.interfaces.nsIWebProgressListener.STATE_STOP)
|
||||
{
|
||||
var aDownloadID = aDownload.target.path;
|
||||
var aDownloadID = aDownload.targetFile.path;
|
||||
var elt = this.doc.getElementById(aDownloadID).firstChild.firstChild;
|
||||
|
||||
var timeRemainingCol = elt.nextSibling.nextSibling.nextSibling;
|
||||
@ -101,7 +101,7 @@ nsDownloadProgressListener.prototype = {
|
||||
else
|
||||
rate = 0;
|
||||
|
||||
var aDownloadID = aDownload.target.path
|
||||
var aDownloadID = aDownload.targetFile.path
|
||||
var elt = this.doc.getElementById(aDownloadID).firstChild.firstChild;
|
||||
if (this.doc.getElementById("TimeElapsed").getAttribute("hidden") != "true") {
|
||||
elapsedCol = elt.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user