From 9fdf6abf5df92a96dd9abbb1f14ee89d0c7aaf56 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 1 May 2011 13:58:51 +0200 Subject: [PATCH] Improves toggling of entreprise suggestions. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- templates/include/form.valid.entreprises.tpl | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/templates/include/form.valid.entreprises.tpl b/templates/include/form.valid.entreprises.tpl index 76a37e5..98b2d4f 100644 --- a/templates/include/form.valid.entreprises.tpl +++ b/templates/include/form.valid.entreprises.tpl @@ -29,14 +29,20 @@ Noms similaires existants : + onclick="$('#{$valid->type}_{$valid->profile->id()}_{$valid->stamp}_truncated').hide(); + $('#{$valid->type}_{$valid->profile->id()}_{$valid->stamp}_full').show()"> {$valid->suggestions|truncate:200:"… (cliquez pour tout afficher)"} -