mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
FIX text in tooltip on buttons when pb is not a permission problem
This commit is contained in:
@@ -12838,7 +12838,7 @@ function dolGetButtonAction($label, $text = '', $actionType = 'default', $url =
|
||||
$attr['class'] = 'butActionRefused';
|
||||
$attr['href'] = '';
|
||||
$attr['title'] = (($label && $text && $label != $text) ? $label : '');
|
||||
$attr['title'] = ($attr['title'] ? $attr['title'].'<br>' : '').$langs->trans('NotEnoughPermissions');
|
||||
$attr['title'] = ($attr['title'] ? $attr['title'] : $langs->trans('NotEnoughPermissions'));
|
||||
}
|
||||
|
||||
if (!empty($id)) {
|
||||
|
||||
Reference in New Issue
Block a user