Mercurial > hg > fapweb
changeset 415:b83b9dd20b69
Some tweaking.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 05 Dec 2013 17:47:22 +0200 |
parents | 523dc3e9a3bf |
children | 876846d8ed5b |
files | admajax.php |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/admajax.php Thu Dec 05 17:45:53 2013 +0200 +++ b/admajax.php Thu Dec 05 17:47:22 2013 +0200 @@ -260,11 +260,11 @@ } -function stGetOptionListStart($id, $onChange = "") +function stGetOptionListStart($id, $size = 10, $onChange = "") { return "<div id=\"".$id."\">\n". - "<select class=\"selectBox\" id=\"".$id."Sel\" size=\"10\"". + "<select class=\"selectBox\" id=\"".$id."Sel\" size=\"".$size."\"". ($onChange != "" ? " onChange=\"".$onChange."\"" : "").">\n"; }