Use new form of confirmation
This commit is contained in:
parent
d197a0e0aa
commit
a129446a16
@ -199,7 +199,7 @@ dol_fiche_head($head, 'card', $title, 0, 'category');
|
||||
|
||||
if ($action == 'delete')
|
||||
{
|
||||
print $form->formconfirm($_SERVER["PHP_SELF"].'?id='.$object->id.'&type='.$type,$langs->trans('DeleteCategory'),$langs->trans('ConfirmDeleteCategory'),'confirm_delete');
|
||||
print $form->formconfirm($_SERVER["PHP_SELF"].'?id='.$object->id.'&type='.$type, $langs->trans('DeleteCategory'), $langs->trans('ConfirmDeleteCategory'), 'confirm_delete', '', '', 1);
|
||||
}
|
||||
|
||||
print '<table width="100%" class="border">';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user