Bug 394798 - Info bubble for just-completed downloads says 'Wednesday, December 31, 1969 6:00 PM'. Patch by Edward Lee <edilee@gmail.com>, r=sdwilsh

git-svn-id: svn://10.0.0.236/trunk@233863 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rflint%ryanflint.com 2007-09-04 17:29:12 +00:00
parent 158f8850e3
commit f6483bc4ba

View File

@ -126,6 +126,9 @@ function downloadCompleted(aDownload)
try {
let dl = getDownload(aDownload.id);
// Update attributes now that we've finished
dl.setAttribute("startTime", Math.round(aDownload.startTime / 1000));
// If we are displaying search results, we do not want to add it to the list
// of completed downloads
if (!gSearching)