diff --git a/core/modules/widgets/navigator.js b/core/modules/widgets/navigator.js index a23e089d3..eef275089 100755 --- a/core/modules/widgets/navigator.js +++ b/core/modules/widgets/navigator.js @@ -60,8 +60,8 @@ NavigatorWidget.prototype.execute = function() { // Get our parameters this.storyTitle = this.getAttribute("story"); this.historyTitle = this.getAttribute("history"); - this.setVariable("tv-storylist",this.storyTitle); - this.setVariable("tv-historylist",this.historyTitle); + this.setVariable("tv-story-list",this.storyTitle); + this.setVariable("tv-history-list",this.historyTitle); // Construct the child widgets this.makeChildWidgets(); }; diff --git a/editions/tw5.com/tiddlers/variables/tv-history-list Variable.tid b/editions/tw5.com/tiddlers/variables/tv-history-list Variable.tid new file mode 100644 index 000000000..16ddd00a3 --- /dev/null +++ b/editions/tw5.com/tiddlers/variables/tv-history-list Variable.tid @@ -0,0 +1,9 @@ +created: 20170629074522030 +modified: 20170629074609739 +tags: Variables [[Core Variables]] +title: tv-history-list Variable +type: text/vnd.tiddlywiki + +The <<.def tv-history-list>> [[variable|Variables]] is assigned by the [[NavigatorWidget]] to contain the title of the tiddler containing the current history list. + +Compare <<.vlink tv-story-list>>. diff --git a/editions/tw5.com/tiddlers/variables/tv-story-list Variable.tid b/editions/tw5.com/tiddlers/variables/tv-story-list Variable.tid new file mode 100644 index 000000000..ea5677de6 --- /dev/null +++ b/editions/tw5.com/tiddlers/variables/tv-story-list Variable.tid @@ -0,0 +1,9 @@ +created: 20170629074200301 +modified: 20170629074520393 +tags: Variables [[Core Variables]] +title: tv-story-list Variable +type: text/vnd.tiddlywiki + +The <<.def tv-story-list>> [[variable|Variables]] is assigned by the [[NavigatorWidget]] to contain the title of the tiddler containing the current story list. + +Compare <<.vlink tv-history-list>>. diff --git a/editions/tw5.com/tiddlers/widgets/NavigatorWidget.tid b/editions/tw5.com/tiddlers/widgets/NavigatorWidget.tid index efcf9baf0..0e0e60ace 100644 --- a/editions/tw5.com/tiddlers/widgets/NavigatorWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/NavigatorWidget.tid @@ -1,9 +1,9 @@ +caption: navigator created: 20131024141900000 -modified: 20150619154056283 +modified: 20170629074415261 tags: Widgets title: NavigatorWidget type: text/vnd.tiddlywiki -caption: navigator ! Introduction @@ -32,3 +32,11 @@ The following [[Messages]] are handled by the navigator widget: + +! Variables + +The following [[Variables]] are assigned by the navigator widget: + +* <<.vlink tv-story-list>>, giving the name of the tiddler containing the story list +* <<.vlink tv-history-list>>, giving the name of the tiddler containing the history list +