1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 01:20:30 +00:00

Fix problem with radio widget and missing tiddlers

Fixes #840
This commit is contained in:
Jermolene 2014-09-14 10:55:34 +01:00
parent 2571f534aa
commit 775482a242

View File

@ -79,7 +79,7 @@ RadioWidget.prototype.setValue = function() {
var tiddler = this.wiki.getTiddler(this.radioTitle), var tiddler = this.wiki.getTiddler(this.radioTitle),
addition = {}; addition = {};
addition[this.radioField] = this.radioValue; addition[this.radioField] = this.radioValue;
this.wiki.addTiddler(new $tw.Tiddler(tiddler,addition)); this.wiki.addTiddler(new $tw.Tiddler({title: this.radioTitle},tiddler,addition,this.wiki.getModificationFields()));
} }
}; };