X-Git-Url: http://git.cyclocoop.org/?p=ptitvelo%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fplugins-dist%2Fmedias%2Fformulaires%2Fjoindre_document.php;h=38dfbe80f12d4a31f0423e3fdfcab6687a602b7f;hp=589521b7d5407841b1c618a145343859a5c6633f;hb=5be150361b3c836d9206941ba43f862df11466db;hpb=bca3db9e1ab94e469b01f7e994a5e095de5f88c4 diff --git a/www/plugins-dist/medias/formulaires/joindre_document.php b/www/plugins-dist/medias/formulaires/joindre_document.php index 589521b..38dfbe8 100644 --- a/www/plugins-dist/medias/formulaires/joindre_document.php +++ b/www/plugins-dist/medias/formulaires/joindre_document.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2013 * + * Copyright (c) 2001-2014 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -208,6 +208,9 @@ function formulaires_joindre_document_traiter_dist($id_document='new',$id_objet= if ($ancre) $callback .= "jQuery('#doc$ancre a.editbox').eq(0).focus();"; if (count($sel)){ + // passer les ids document selectionnes aux pipelines + $res['ids'] = $sel; + $sel = "#doc".implode(",#doc",$sel); $callback .= "jQuery('$sel').animateAppend();"; }