mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-02 00:02:38 +01:00
Fix multi-window thingy and stuff.
This commit is contained in:
@@ -634,6 +634,9 @@ var Buffer = Module("Buffer", {
|
||||
| persist.PERSIST_FLAGS_REPLACE_EXISTING_FILES;
|
||||
|
||||
let window = this.topWindow;
|
||||
if (!file.exists())
|
||||
file.create(Ci.nsIFile.NORMAL_FILE_TYPE, octal(666));
|
||||
|
||||
let downloadListener = new window.DownloadListener(window,
|
||||
services.Transfer(uri, File(file).URI, "",
|
||||
null, null, null, persist));
|
||||
|
||||
Reference in New Issue
Block a user