mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 00:47:59 +01:00
Closes issue #1280.
This commit is contained in:
@@ -838,8 +838,14 @@ var Buffer = Module("Buffer", {
|
||||
else
|
||||
persist.progressListener = downloadListener;
|
||||
|
||||
persist.saveURI(params.uri, null, null, null, null,
|
||||
file.file, privacy);
|
||||
if (persist.saveURI.length <= 7)
|
||||
persist.saveURI(params.uri, null, null, null, null,
|
||||
file.file, privacy);
|
||||
else
|
||||
// Let's add an extra null to the middle of the arguments
|
||||
// list, because why not.
|
||||
persist.saveURI(params.uri, null, null, null, null, null,
|
||||
file.file, privacy);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2008-2014 Kris Maglione <maglione.k at Gmail>
|
||||
// Copyright (c) 2008-2015 Kris Maglione <maglione.k at Gmail>
|
||||
//
|
||||
// This work is licensed for reuse under an MIT license. Details are
|
||||
// given in the LICENSE.txt file included with this file.
|
||||
@@ -684,6 +684,7 @@ var JavaScript = Module("javascript", {
|
||||
return [];
|
||||
return completer.call(obj, context, obj, args);
|
||||
};
|
||||
func.dactylCompleter.completers = completers;
|
||||
}
|
||||
return arguments[0];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user