2
0
forked from Wavyzz/dolibarr

fix : change title if html not set

This commit is contained in:
GregM
2022-02-22 12:25:30 +01:00
parent 87a5defbd3
commit e107423c21

View File

@@ -9965,6 +9965,7 @@ function dolGetButtonAction($label, $html = '', $actionType = 'default', $url =
if (empty($html)) {
$html = $label;
$attr['title'] = ''; // if html not set, leave label on title is redundant
} else {
$attr['aria-label'] = $label;
}