a little ui enhancement in addressbook

addressbook/inc/class.uiaddressbook.inc.php in the line
161 remove this:
size="3"

On my installation there are 15 categories, a user has
to scroll down to find approprate category, size="3"
for category select box is too limited. Does not
specify size makes mozilla provide a select box just
fit it's content. Don't know how it would be in IE.
This commit is contained in:
zhangweiwu 2004-05-24 02:35:08 +00:00
parent 5ec6ce4d75
commit 587a2d5e1c

View File

@ -158,7 +158,7 @@
$jselect = ' onChange="this.form.submit();"';
}
/* Setup all and none first */
$cats_link = "\n" .'<select name="fcat_id'.($multiple?'[]':'').'"' .$jselect . ($multiple ? 'multiple size="3"' : '') . ">\n";
$cats_link = "\n" .'<select name="fcat_id'.($multiple?'[]':'').'"' .$jselect . ($multiple ? 'multiple ' : '') . ">\n";
if(!$notall)
{
$cats_link .= '<option value=""';