mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-03-27 22:06:55 +00:00
include wiki in options sent to generateTiddlerFilePath
This adds options.wiki to the object sent to the generateTiddlerFilePath The function generateTiddlerFilePath can take a wiki in the options object, but generateTiddlerFileInfo doesn't pass the wiki to it.
This commit is contained in:
parent
f42351e235
commit
c202ef4201
@ -225,7 +225,8 @@ exports.generateTiddlerFileInfo = function(tiddler,options) {
|
|||||||
fileInfo.filepath = $tw.utils.generateTiddlerFilepath(tiddler.fields.title,{
|
fileInfo.filepath = $tw.utils.generateTiddlerFilepath(tiddler.fields.title,{
|
||||||
extension: contentTypeInfo.extension,
|
extension: contentTypeInfo.extension,
|
||||||
directory: options.directory,
|
directory: options.directory,
|
||||||
pathFilters: options.pathFilters
|
pathFilters: options.pathFilters,
|
||||||
|
wiki: options.wiki
|
||||||
});
|
});
|
||||||
return fileInfo;
|
return fileInfo;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user