mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 13:25:00 +00:00
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:
parent
3430f42e08
commit
0f85cda322
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user