From 0784d9754c9567ca3c8d6793cbb415a023c00980 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 2 May 2012 17:27:13 +0100 Subject: [PATCH] Fixed tiddler exposure to evaluated parameters --- rabbithole/core/modules/treenodes/macro.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rabbithole/core/modules/treenodes/macro.js b/rabbithole/core/modules/treenodes/macro.js index 6dba2f259..2cc385ae1 100644 --- a/rabbithole/core/modules/treenodes/macro.js +++ b/rabbithole/core/modules/treenodes/macro.js @@ -139,7 +139,7 @@ Macro.prototype.execute = function(parents,tiddlerTitle) { } for(var p in this.srcParams) { if(typeof this.srcParams[p] === "function") { - this.params[p] = this.srcParams[p](tiddler,this.wiki); + this.params[p] = this.srcParams[p](tiddler.fields,this.wiki); } else { this.params[p] = this.srcParams[p]; }