1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-01 16:30:46 +00:00

Fixed the view macro to fail silently if the target tiddler doesn't exist

This commit is contained in:
Jeremy Ruston 2012-10-10 10:45:58 +01:00
parent fc19a77353
commit 6b6def8725

View File

@ -35,7 +35,7 @@ exports.executeMacro = function() {
} else {
switch(field) {
case "text":
value = "The tiddler '" + this.tiddlerTitle + "' does not exist";
value = "";
break;
case "title":
value = this.tiddlerTitle;