fixed a wrong html attribute (selected="selected") in renderDropDownBox()

This commit is contained in:
Tobi Schäfer 2003-03-05 18:41:07 +00:00
parent b628b7bf08
commit a10ccfe0de

View file

@ -226,7 +226,7 @@ function renderDropDownBox(name, options, selectedIndex, firstoption) {
param.name = encode(options[i]);
param.value = i;
if (param.value == selectedIndex)
param.selected = "true";
param.selected = "selected";
openMarkupElement("option", param);
res.write(param.name);
closeMarkupElement("option");