From 61b75be94ca42a6b61786f3a92dbcf8977a7c6d5 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Wed, 6 May 2015 08:14:26 +0100 Subject: [PATCH] Add "navigateFromTitle" to action-sendmessage Fixes #1665 --- core/modules/widgets/action-sendmessage.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/modules/widgets/action-sendmessage.js b/core/modules/widgets/action-sendmessage.js index 1431d3156..cae061bb7 100644 --- a/core/modules/widgets/action-sendmessage.js +++ b/core/modules/widgets/action-sendmessage.js @@ -67,7 +67,13 @@ SendMessageWidget.prototype.invokeAction = function(triggeringWidget,event) { } }); // Dispatch the message - this.dispatchEvent({type: this.actionMessage, param: param, paramObject: paramObject, tiddlerTitle: this.getVariable("currentTiddler")}); + this.dispatchEvent({ + type: this.actionMessage, + param: param, + paramObject: paramObject, + tiddlerTitle: this.getVariable("currentTiddler"), + navigateFromTitle: this.getVariable("storyTiddler") + }); return true; // Action was invoked };