diff --git a/include/class/follow_up.class.php b/include/class/follow_up.class.php index 38a544c9f..043cbc7b0 100644 --- a/include/class/follow_up.class.php +++ b/include/class/follow_up.class.php @@ -1805,7 +1805,7 @@ class Follow_Up } /** - * Display the tree of childrens of the current Action + related parents + * @brief Display the tree of childrens of the current Action + related parents * @return return the tree of children in a unordered list , HTML string */ function display_children($p_view, $p_base) @@ -1814,7 +1814,7 @@ class Follow_Up * First we retrieve the parent */ $parent=$this->get_parent(); - + $http=new HttpInput(); $base=HtmlInput::request_to_string(array("gDossier", "ac", "sb", "sc", "f_id"))."&sa=detail"; if ($parent==-1) @@ -1856,9 +1856,9 @@ class Follow_Up { $rmAction=sprintf("return confirm_box(null,'"._('Voulez-vous effacer cette action ')."', function () {remove_action('%s','%s','%s');});", dossier::id(), $action[$o]['aga_greatest'], - $_REQUEST['ag_id']); + $http->request('ag_id',"number")); $showAction=''; - $js=''.SMALLX.''; + $js=Icon_Action::trash("acact".$action[$o]['aga_greatest'], $rmAction); echo '