mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-12 10:20:26 +00:00
Navigator now sets variables for the story list and history list, that are available to child widgets. Needed in a mutiple-story tiddlywiki. (#2904)
This commit is contained in:
parent
5892c4d8bc
commit
5d74513a97
@ -60,6 +60,8 @@ NavigatorWidget.prototype.execute = function() {
|
|||||||
// Get our parameters
|
// Get our parameters
|
||||||
this.storyTitle = this.getAttribute("story");
|
this.storyTitle = this.getAttribute("story");
|
||||||
this.historyTitle = this.getAttribute("history");
|
this.historyTitle = this.getAttribute("history");
|
||||||
|
this.setVariable("tv-storylist",this.storyTitle);
|
||||||
|
this.setVariable("tv-historylist",this.historyTitle);
|
||||||
// Construct the child widgets
|
// Construct the child widgets
|
||||||
this.makeChildWidgets();
|
this.makeChildWidgets();
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user