summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/downloads/content/downloads.js
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-04-28 16:17:54 +0200
committerGitHub <noreply@github.com>2018-04-28 16:17:54 +0200
commit9d1869d98e23162f5bbeffe95c1973e42f2b89d9 (patch)
tree9fc3fb1291ebb66686d7011c9cbf339bd9f3ce04 /application/palemoon/components/downloads/content/downloads.js
parent8d6b34f8630d6802e3570e8c6adcd2ad6fe4ddbe (diff)
parentc99c89cb40123d9b37f0e75a9fde6141295acca9 (diff)
downloadUXP-9d1869d98e23162f5bbeffe95c1973e42f2b89d9.tar
UXP-9d1869d98e23162f5bbeffe95c1973e42f2b89d9.tar.gz
UXP-9d1869d98e23162f5bbeffe95c1973e42f2b89d9.tar.lz
UXP-9d1869d98e23162f5bbeffe95c1973e42f2b89d9.tar.xz
UXP-9d1869d98e23162f5bbeffe95c1973e42f2b89d9.zip
Merge pull request #276 from janekptacijarabaci/pm_url_1
[PALEMOON] [frontend vs backend] Change a function "getShortcutOrURI" to "getShortcutOrURIAndPostData", fix Drag & Drop and a function "Copy Download Link"
Diffstat (limited to 'application/palemoon/components/downloads/content/downloads.js')
-rw-r--r--application/palemoon/components/downloads/content/downloads.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/application/palemoon/components/downloads/content/downloads.js b/application/palemoon/components/downloads/content/downloads.js
index 0412344bc..833d7d72f 100644
--- a/application/palemoon/components/downloads/content/downloads.js
+++ b/application/palemoon/components/downloads/content/downloads.js
@@ -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) {}
},