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"; return $cats_link; } @@ -264,7 +255,7 @@ $cat_id = $fields["cat_id"]; } - $cats_link = cat_option($cat_id,'ncat_id',True); + $cats_link = cat_option($cat_id,True); if ($access == 'private') { $access_check = ' checked'; diff --git a/addressbook/templates/default/add.tpl b/addressbook/templates/default/add.tpl index bfa07ff808..ad9fc7b4f0 100644 --- a/addressbook/templates/default/add.tpl +++ b/addressbook/templates/default/add.tpl @@ -24,7 +24,6 @@ - diff --git a/addressbook/templates/default/edit.tpl b/addressbook/templates/default/edit.tpl index 5edf0fd79c..23cdb15adc 100644 --- a/addressbook/templates/default/edit.tpl +++ b/addressbook/templates/default/edit.tpl @@ -1,11 +1,11 @@ + -
@@ -30,7 +29,6 @@ - {delete_button} | diff --git a/addressbook/templates/default/export.tpl b/addressbook/templates/default/export.tpl index dccc6f7ec4..cd8ac8fbdf 100644 --- a/addressbook/templates/default/export.tpl +++ b/addressbook/templates/default/export.tpl @@ -24,7 +24,6 @@ -