From c4ebab9d2850023df62c10ff32c1fc00913f65b2 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Thu, 29 Mar 2001 15:40:10 +0000 Subject: [PATCH] Fix selection of cats --- addressbook/inc/functions.inc.php | 21 ++++++--------------- addressbook/templates/default/add.tpl | 1 - addressbook/templates/default/edit.tpl | 4 +--- addressbook/templates/default/export.tpl | 2 -- addressbook/templates/default/footer.tpl | 4 ---- addressbook/templates/default/header.tpl | 3 +-- addressbook/templates/default/import.tpl | 2 -- addressbook/templates/default/view.tpl | 3 --- 8 files changed, 8 insertions(+), 32 deletions(-) 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 .= "