1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-11 18:00:26 +00:00

Fix advanced filter search clear button

Thanks @BramChen
This commit is contained in:
Jermolene 2014-11-23 16:02:08 +00:00
parent 8e52830320
commit 84bebb65b7

View File

@ -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) {