1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 17:40:29 +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 { } else {
switch(field) { switch(field) {
case "text": case "text":
value = "The tiddler '" + this.tiddlerTitle + "' does not exist"; value = "";
break; break;
case "title": case "title":
value = this.tiddlerTitle; value = this.tiddlerTitle;