From 990f083bd68d1173ae5e41ddd11bb87e45b97ae7 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Tue, 13 Apr 2004 15:40:51 +0000 Subject: [PATCH] Fix javascript bug for new card --- html/fiche_new.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/fiche_new.php b/html/fiche_new.php index 2a25ee4bc..58cbcc97d 100644 --- a/html/fiche_new.php +++ b/html/fiche_new.php @@ -60,6 +60,7 @@ function new_fiche($p_cn,$p_type) { $l_sessid=(isset ($_POST["PHPSESSID"]))?$_POST["PHPSESSID"]:$_GET["PHPSESSID"]; $r.=JS_SHOW_TVA; + $r.=JS_SEARCH_POSTE; $r.=""; echo '

New

'; $p_f_id=""; @@ -83,7 +84,7 @@ function new_fiche($p_cn,$p_type) { $but_search_poste=""; // Javascript for searching the account if ( $l_line ['ad_id'] == ATTR_DEF_ACCOUNT ) { - $but_search_poste=''; + $but_search_poste=''; } // Javascript for showing the tva if ( $l_line ['ad_id'] == ATTR_DEF_TVA ) {