use ext/themelist.js in kitchen-sink demo
This commit is contained in:
parent
4d88770435
commit
c563f15e93
5 changed files with 59 additions and 99 deletions
|
|
@ -218,7 +218,7 @@ function optgroup(values) {
|
|||
return values.map(function(item) {
|
||||
if (typeof item == "string")
|
||||
item = {name: item, caption: item};
|
||||
return elt("option", {value: item.name}, item.caption || item.desc);
|
||||
return elt("option", {value: item.value || item.name}, item.caption || item.desc);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue