mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-25 00:16:52 +00:00
Take default value in account when index attribute is used (#3099)
This commit is contained in:
parent
c194cec520
commit
028888edff
@ -72,7 +72,7 @@ SelectWidget.prototype.setSelectValue = function() {
|
||||
var value = this.selectDefault;
|
||||
// Get the value
|
||||
if(this.selectIndex) {
|
||||
value = this.wiki.extractTiddlerDataItem(this.selectTitle,this.selectIndex);
|
||||
value = this.wiki.extractTiddlerDataItem(this.selectTitle,this.selectIndex,value);
|
||||
} else {
|
||||
var tiddler = this.wiki.getTiddler(this.selectTitle);
|
||||
if(tiddler) {
|
||||
|
Loading…
Reference in New Issue
Block a user