diff --git a/addressbook/inc/functions.inc.php b/addressbook/inc/functions.inc.php index f03f8f094c..2a80bee30f 100755 --- a/addressbook/inc/functions.inc.php +++ b/addressbook/inc/functions.inc.php @@ -34,34 +34,25 @@ } // Return a select form element with the categories option dialog in it - function cat_option($cat_id='',$name='ncat_id',$notall=False,$java=False) { + function cat_option($cat_id='',$notall=False,$java=True) { global $phpgw_info; if ($java) { $jselect = " onChange=\"this.form.submit();\""; - $name='cat_id'; - //$jsubopen = ""; } // Setup all and none first - $cats_link = "\n"; if (!$notall) { - $cats_link .= "