diff --git a/include/class_html_input.php b/include/class_html_input.php
index 8ca0c4cd6..d883fea27 100755
--- a/include/class_html_input.php
+++ b/include/class_html_input.php
@@ -861,5 +861,16 @@ class HtmlInput
return $r;
}
-
+ /**
+ *
+ * @param type $p_operation_jr_id action_gestion_operation.ago_id
+ */
+ static function button_action_remove_operation($p_operation)
+ {
+ $rmOperation=sprintf("javascript:if ( confirm('"._('Voulez-vous effacer cette relation ')."')==true ) {remove_operation('%s','%s');}",
+ dossier::id(),
+ $p_operation);
+ $js= ''."ⵝ".'';
+ return $js;
+ }
}