diff --git a/ecrire/inc/legender.php b/ecrire/inc/legender.php
index a7d854e8753b1146699f3e408d982b01bb81b571..a8b5e47c2eb5c888f15d8432de37df5ec156e9d1 100644
--- a/ecrire/inc/legender.php
+++ b/ecrire/inc/legender.php
@@ -107,7 +107,7 @@ function inc_legender_dist($id_document, $document, $script, $type, $id, $ancre,
 		$action = ajax_action_auteur('documenter', "$s$id/$type/$id_document", $script, "id_$type=$id&type=$type&s=$s#$ancre", array($texte));
 	}
 
-	$corps = ajax_action_auteur("legender", $id_document, $script, "show_docs=$id_document&id_$type=$id#$ancre", $corps, "&id_document=$id_document&id=$id&type=$type&ancre=$ancre")
+	$corps = ajax_action_auteur("legender", $id_document, $script, "show_docs=$id_document&id_$type=$id#legender-$id_document", $corps, "&id_document=$id_document&id=$id&type=$type&ancre=$ancre")
 	.  $vignette
 	. "\n\n\n\n"
 	. icone_horizontale($texte, $action, $supp, "supprimer.gif", false);