Use the setvariable widget instead of macrodef

setvariable is more general
This commit is contained in:
Jeremy Ruston
2013-10-13 23:40:11 +01:00
parent 942e463b20
commit cc4940f41f
3 changed files with 6 additions and 56 deletions

View File

@@ -41,7 +41,7 @@ SetVariableWidget.prototype.execute = function() {
this.setName = this.getAttribute("name","tiddlerTitle");
this.setValue = this.getAttribute("value");
// Set context variable
this.setVariable(this.setName,this.setValue);
this.setVariable(this.setName,this.setValue,this.parseTreeNode.params);
// Construct the child widgets
this.makeChildWidgets();
};