landing patch for bug 24867 "UI for FTP upload not implemented" r=neil,biesi sr=bryner a=asa (this portion of the patch should have been checked in when I landed the rest of my patch for this bug!)

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@156100 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
darin%meer.net
2004-05-07 19:41:28 +00:00
parent 3076160f58
commit a1d3b90d17

View File

@@ -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;