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

This commit is contained in:
rflint@ryanflint.com 2007-09-04 10:29:12 -07:00
parent 3430f42e08
commit 0f85cda322

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)