mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
fix: cancel button not working when comming from admin token list
This commit is contained in:
@@ -305,7 +305,7 @@ if (GETPOSTINT('nomassaction') || in_array($massaction, array('presend', 'predel
|
||||
$massactionbutton = $form->selectMassAction('', $arrayofmassactions);
|
||||
|
||||
$morehtmlright = '';
|
||||
$tmpurlforbutton = DOL_URL_ROOT.'/user/api_token/card.php?action=create';
|
||||
$tmpurlforbutton = DOL_URL_ROOT.'/user/api_token/card.php?action=create&backtopage='.urlencode(DOL_URL_ROOT.'/api/admin/token_list.php');
|
||||
$morehtmlright .= dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', $tmpurlforbutton);
|
||||
|
||||
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'?id=">'."\n";
|
||||
|
||||
Reference in New Issue
Block a user