Button hide and close for DGBox

This commit is contained in:
sparkyx 2024-03-09 13:28:58 +01:00
parent 4e8ec132f3
commit 39ebe19490
2 changed files with 2 additions and 0 deletions

View file

@ -952,6 +952,7 @@ EOF;
$r.=HtmlInput::simple_array_to_hidden($array);
$r.=HtmlInput::hidden("e_comm",$operation->det->jr_comment);
$r.=HtmlInput::submit(uniqid(), _("Dupliquer"));
$r.=HtmlInput::button_close("duplicate_operation_div");
$r.='</form>';

View file

@ -396,6 +396,7 @@ echo '</form>';
$r.='<p style="text-align:center">';
$r.=HtmlInput::submit('x','accepter',
'onclick="confirm_box($(\'form_'.$div.'\'),content[50],function () {$(\'form_'.$div.'\').divname=\''.$div.'\';reverseOperation($(\'form_'.$div.'\'))}); return false"');
$r.=HtmlInput::button_hide( "ext".$div);
$r.="</p>";
$r.='</form>';
echo $r;