From 84bebb65b7e57b7db28b6d547a3155d8436bc798 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sun, 23 Nov 2014 16:02:08 +0000 Subject: [PATCH] Fix advanced filter search clear button Thanks @BramChen --- 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 600d7a2da..89de61824 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.actionValue) { + if(typeof this.actionValue === "string") { this.wiki.setText(this.actionTiddler,this.actionField,this.actionIndex,this.actionValue); } $tw.utils.each(this.attributes,function(attribute,name) {