From 74d5130c61b88856758285ea7bb6dbed7da347e2 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 4 Nov 2010 10:16:27 +0000 Subject: [PATCH] Fix: hide civility for company create --- htdocs/societe/soc.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php index fc976ff1f02..051313c692d 100644 --- a/htdocs/societe/soc.php +++ b/htdocs/societe/soc.php @@ -613,15 +613,15 @@ else print 'jQuery(document).ready(function () { id_te_private=8; id_ef15=1; - jQuery("#individualline").hide(); + jQuery(".individualline").hide(); jQuery("#radiocompany").click(function() { - jQuery("#individualline").hide(); + jQuery(".individualline").hide(); jQuery("#typent_id").val(0); jQuery("#effectif_id").val(0); document.formsoc.private.value=0; }); jQuery("#radioprivate").click(function() { - jQuery("#individualline").show(); + jQuery(".individualline").show(); jQuery("#typent_id").val(id_te_private); jQuery("#effectif_id").val(id_ef15); document.formsoc.private.value=1; @@ -672,9 +672,9 @@ else // If javascript on, we show option individual if ($conf->use_javascript_ajax) { - print ''.$langs->trans('FirstName').''; + print ''.$langs->trans('FirstName').''; print ' '; - print ''.$langs->trans("UserTitle").''; + print ''.$langs->trans("UserTitle").''; print $formcompany->select_civilite($contact->civilite_id).''; print ' '; }