Fix merge conflict
This commit is contained in:
parent
5efbe5a429
commit
114827934e
@ -2455,19 +2455,10 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
|
|||||||
$formconfirm = '';
|
$formconfirm = '';
|
||||||
|
|
||||||
// Confirm delete third party
|
// Confirm delete third party
|
||||||
if ($action == 'delete') {
|
if ($action == 'delete' || ($conf->use_javascript_ajax && empty($conf->dol_use_jmobile))) {
|
||||||
$formquestion = array(
|
$formconfirm = $form->formconfirm($_SERVER["PHP_SELF"]."?socid=".$object->id, $langs->trans("DeleteACompany"), $langs->trans("ConfirmDeleteCompany"), "confirm_delete", '', 0, "action-delete");
|
||||||
array(
|
|
||||||
'value' => 'yes',
|
|
||||||
)
|
|
||||||
);
|
|
||||||
|
|
||||||
$formconfirm .= $form->formconfirm($_SERVER["PHP_SELF"].'?id='.$object->id, $langs->trans('DeleteACompany'), $langs->trans('ConfirmDeleteCompany'), 'confirm_delete', '', 0, 2);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if ($action == 'merge') {
|
if ($action == 'merge') {
|
||||||
$formquestion = array(
|
$formquestion = array(
|
||||||
array(
|
array(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user