Closes issue #976

46 views
Skip to first unread message

jpm...@gmail.com

unread,
Feb 1, 2013, 11:03:01 PM2/1/13
to dactyl-...@googlegroups.com
# HG changeset patch
# User Joao Sa <jpm...@gmail.com>
# Date 1359776808 7200
# Node ID dfa126ae275cd002a4f26c8abc1a392c39e02333
# Parent  cf52a592892404d5ed04ae0ebb4088a4d548e1df
Closes issue #976

diff -r cf52a5928924 -r dfa126ae275c common/modules/buffer.jsm
--- a/common/modules/buffer.jsm    Sun Jan 20 19:07:37 2013 -0800
+++ b/common/modules/buffer.jsm    Sat Feb 02 01:46:48 2013 -0200
@@ -1719,7 +1719,7 @@
 
                     dactyl.assert(args.bang || !file.exists(), _("io.exists"));
 
-                    chosenData = { file: file, uri: util.newURI(doc.location.href) };
+                    chosenData = { file: file.file, uri: util.newURI(doc.location.href) };
                 }
 
                 // if browser.download.useDownloadDir = false then the "Save As"
@@ -1737,7 +1737,7 @@
                 window.internalSave(doc.location.href, doc, null, contentDisposition,
                                     doc.contentType, false, null, chosenData,
                                     doc.referrer ? window.makeURI(doc.referrer) : null,
-                                    true);
+                                    buffer.doc, true);
             },
             {
                 argCount: "?",
Reply all
Reply to author
Forward
0 new messages