From 6c6fda498f92e6f47624ede9fa091d378d63b440 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Mon, 17 Nov 2014 16:26:18 +0000 Subject: [PATCH] Fix bug in action-setfield widget --- core/modules/widgets/action-setfield.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/widgets/action-setfield.js b/core/modules/widgets/action-setfield.js index 07291ed0d..600d7a2da 100644 --- a/core/modules/widgets/action-setfield.js +++ b/core/modules/widgets/action-setfield.js @@ -58,7 +58,7 @@ Invoke the action associated with this widget */ SetFieldWidget.prototype.invokeAction = function(triggeringWidget,event) { var self = this; - if(this.actionField || this.actionIndex) { + if(this.actionValue) { this.wiki.setText(this.actionTiddler,this.actionField,this.actionIndex,this.actionValue); } $tw.utils.each(this.attributes,function(attribute,name) {