1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 17:10:29 +00:00

Add "navigateFromTitle" to action-sendmessage

Fixes #1665
This commit is contained in:
Jermolene 2015-05-06 08:14:26 +01:00
parent 86e901f375
commit 61b75be94c

View File

@ -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
};