Skip to content

Commit

Permalink
Add a patch from Karl.
Browse files Browse the repository at this point in the history
This fixes a small js bug.
  • Loading branch information
CMB committed Nov 30, 2011
1 parent a0b75b8 commit 02b320b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/html.c
Expand Up @@ -1374,6 +1374,10 @@ encodeTags(char *html)
false);
establish_property_bool(ov, "defaultSelected",
v->checked, true);
if(v->checked && !currentSel->multiple) {
set_property_number(ev, "selectedIndex", v->lic);
set_property_string(ev, "value", v->value);
}
} /* select has corresponding java variables */
} /* option */
}
Expand Down

0 comments on commit 02b320b

Please sign in to comment.