Bug 945707 - Pausing a download fails when done after a retry + follow up (see the description)

Issue #121
[follow up] Bug 92737 - Part 9: Download multiple files when multiple
items are dropped on Downloads view in Library Window
This commit is contained in:
janekptacijarabaci 2018-04-25 16:05:19 +02:00 • committed by Roy Tam
commit fea1a4d195
2 changed files with 16 additions and 21 deletions

View file

@ -507,8 +507,7 @@ const DownloadsPanel = {
let uri = NetUtil.newURI(url);
DownloadsCommon.log("Pasted URL seems valid. Starting download.");
saveURL(uri.spec, name || uri.spec, null, true, true,
undefined, document);
DownloadURL(uri.spec, name, document);
} catch (ex) {}
},