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

print-window-tiddler
Jeremy Ruston 2012-10-10 10:45:58 +01:00
rodzic fc19a77353
commit 6b6def8725
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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