fixed a wrong html attribute (selected="selected") in renderDropDownBox()
This commit is contained in:
parent
b628b7bf08
commit
a10ccfe0de
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ function renderDropDownBox(name, options, selectedIndex, firstoption) {
|
||||||
param.name = encode(options[i]);
|
param.name = encode(options[i]);
|
||||||
param.value = i;
|
param.value = i;
|
||||||
if (param.value == selectedIndex)
|
if (param.value == selectedIndex)
|
||||||
param.selected = "true";
|
param.selected = "selected";
|
||||||
openMarkupElement("option", param);
|
openMarkupElement("option", param);
|
||||||
res.write(param.name);
|
res.write(param.name);
|
||||||
closeMarkupElement("option");
|
closeMarkupElement("option");
|
||||||
|
|
Loading…
Add table
Reference in a new issue