mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 12:07:19 +00:00
Fix problem with blank values in action-setfield widget
One manifestation of this problem was that it wasn’t possible to use the edit template to add a field without specifying a value
This commit is contained in:
parent
9bbd599f5c
commit
5ded01f2c6
@ -58,7 +58,7 @@ Invoke the action associated with this widget
|
||||
*/
|
||||
SetFieldWidget.prototype.invokeAction = function(triggeringWidget,event) {
|
||||
var self = this;
|
||||
if(this.actionValue) {
|
||||
if(this.actionField || this.actionIndex) {
|
||||
this.wiki.setText(this.actionTiddler,this.actionField,this.actionIndex,this.actionValue);
|
||||
}
|
||||
$tw.utils.each(this.attributes,function(attribute,name) {
|
||||
|
Loading…
Reference in New Issue
Block a user