tooltip not present on picto, already present in $link
and some case they are conflict
This commit is contained in:
parent
05b02e7bef
commit
8830264c0e
@ -3185,8 +3185,8 @@ class Product extends CommonObject
|
||||
}
|
||||
|
||||
if ($withpicto) {
|
||||
if ($this->type == Product::TYPE_PRODUCT) $result.=($link.img_object($langs->trans("ShowProduct").' '.$this->label, 'product', 'class="classfortooltip"').$linkend.' ');
|
||||
if ($this->type == Product::TYPE_SERVICE) $result.=($link.img_object($langs->trans("ShowService").' '.$this->label, 'service', 'class="classfortooltip"').$linkend.' ');
|
||||
if ($this->type == Product::TYPE_PRODUCT) $result.=($link.img_object('', 'product', '').$linkend.' ');
|
||||
if ($this->type == Product::TYPE_SERVICE) $result.=($link.img_object('', 'service', '').$linkend.' ');
|
||||
}
|
||||
$result.=$link.$newref.$linkend;
|
||||
return $result;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user