From c4bc0d9b3808fd7518fff26748d99dc31228895c Mon Sep 17 00:00:00 2001
From: renato <renato@rezo.net>
Date: Fri, 10 Nov 2006 18:37:59 +0000
Subject: [PATCH] do not show only the last updated document after having
 modified it in the portfolio

---
 ecrire/inc/legender.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecrire/inc/legender.php b/ecrire/inc/legender.php
index a7d854e875..a8b5e47c2e 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);
-- 
GitLab