kopia lustrzana https://github.com/miklobit/TiddlyWiki5
use $tw.utils.stringifyList
rodzic
065b274b98
commit
f540be4ac4
|
@ -55,7 +55,7 @@ SelectWidget.prototype.handleChangeEvent = function(event) {
|
|||
var value = this.getSelectDomNode().value;
|
||||
} else {
|
||||
var value = this.getSelectValues()
|
||||
value = value.map(function(s) { return "[["+s+"]]"}).join(" ");
|
||||
value = $tw.utils.stringifyList(value);
|
||||
}
|
||||
this.wiki.setText(this.selectTitle,this.selectField,this.selectIndex,value);
|
||||
};
|
||||
|
@ -174,4 +174,4 @@ SelectWidget.prototype.refresh = function(changedTiddlers) {
|
|||
|
||||
exports.select = SelectWidget;
|
||||
|
||||
})();
|
||||
})();
|
||||
|
|
Ładowanie…
Reference in New Issue