Skip to content

Commit

Permalink
add actionValue to the action variables
Browse files Browse the repository at this point in the history
  • Loading branch information
pmario committed Nov 17, 2020
1 parent 50ffeed commit 89ad523
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/modules/widgets/radio.js
Expand Up @@ -94,7 +94,10 @@ RadioWidget.prototype.handleChangeEvent = function(event) {
}
});
// "tiddler" and/or "field" parameter may be missing in the widget call. See .execute() below
variables = $tw.utils.extend(variables, {"attr-tiddler": this.radioTitle, "attr-field": this.radioField});
variables = $tw.utils.extend(variables, {"actionValue": this.radioValue,
"attr-tiddler": this.radioTitle,
"attr-field": this.radioField
});
this.invokeActionString(this.radioActions,this,event,variables);
}
};
Expand Down

0 comments on commit 89ad523

Please sign in to comment.