Task #1735: Détail opération utilisation icone poubelle
This commit is contained in:
parent
9fe4f7ae43
commit
878c0ff5bc
3 changed files with 8 additions and 10 deletions
|
|
@ -1097,9 +1097,9 @@ class HtmlInput
|
|||
*/
|
||||
static function button_action_remove_operation($p_operation)
|
||||
{
|
||||
$rmOperation=sprintf("javascript:confirm_box(null,'"._('Voulez-vous effacer cette relation ')."',function () {remove_operation('%s','%s');});",
|
||||
$rmOperation=sprintf("confirm_box(null,'"._('Voulez-vous effacer cette relation ')."',function () {remove_operation('%s','%s');});",
|
||||
dossier::id(), $p_operation);
|
||||
$js='<a class="tinybutton" id="acop'.$p_operation.'" href="javascript:void(0)" onclick="'.$rmOperation.'">'.SMALLX.'</a>';
|
||||
$js=Icon_Action::trash("acop".$p_operation, $rmOperation);
|
||||
return $js;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue