mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-11 18:00:26 +00:00
Merge pull request #1026 from andrey013/lazy-loading-indexed-transclusion
Lazy loading should be forced for indexing transclusion
This commit is contained in:
commit
b1e2ea19a8
@ -844,6 +844,7 @@ exports.parseTextReference = function(title,field,index,options) {
|
|||||||
}
|
}
|
||||||
return this.parseText("text/vnd.tiddlywiki",text.toString(),options);
|
return this.parseText("text/vnd.tiddlywiki",text.toString(),options);
|
||||||
} else if(index) {
|
} else if(index) {
|
||||||
|
this.getTiddlerText(title); // Force the tiddler to be lazily loaded
|
||||||
text = this.extractTiddlerDataItem(tiddler,index,undefined);
|
text = this.extractTiddlerDataItem(tiddler,index,undefined);
|
||||||
if(text === undefined) {
|
if(text === undefined) {
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user