diff options
author | Andrew Dolgov <[email protected]> | 2010-11-20 22:11:34 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-20 22:36:01 +0300 |
commit | 6080730067013d629cde1d33e70472055a9b6e03 (patch) | |
tree | aa10afd7f8d6d806679713a07b3ef081b10c0b97 /functions.php | |
parent | da1f74c9c4e94a7093281daad268aa44ebe5f6c7 (diff) |
rework pref-prefs to use dijit Form
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php index 7d23a4093..f95c7ebc4 100644 --- a/functions.php +++ b/functions.php @@ -1508,11 +1508,11 @@ print "<select name=\"$id\" id=\"$id\" $attributes>"; foreach ($values as $v) { if ($v == $default) - $sel = " selected"; + $sel = "selected=\"1\""; else $sel = ""; - print "<option$sel>$v</option>"; + print "<option value=\"$v\" $sel>$v</option>"; } print "</select>"; } |