Fix: On corrige htmltooltip lorsqu'il faut afficher contenu avec des "
This commit is contained in:
parent
45af9432bf
commit
03ee736de9
@ -2263,6 +2263,7 @@ else
|
|||||||
$text.= ' '.$objp->ref.'</a>';
|
$text.= ' '.$objp->ref.'</a>';
|
||||||
$text.= ' - '.$objp->product;
|
$text.= ' - '.$objp->product;
|
||||||
$description=($conf->global->PRODUIT_DESC_IN_FORM?'':$objp->description);
|
$description=($conf->global->PRODUIT_DESC_IN_FORM?'':$objp->description);
|
||||||
|
//print $description;
|
||||||
print $html->textwithtooltip($text,$description,3,'','',$i);
|
print $html->textwithtooltip($text,$description,3,'','',$i);
|
||||||
print_date_range($objp->date_start,$objp->date_end);
|
print_date_range($objp->date_start,$objp->date_end);
|
||||||
if ($conf->global->PRODUIT_DESC_IN_FORM)
|
if ($conf->global->PRODUIT_DESC_IN_FORM)
|
||||||
|
|||||||
@ -103,6 +103,7 @@ class Form
|
|||||||
{
|
{
|
||||||
if ($conf->use_javascript)
|
if ($conf->use_javascript)
|
||||||
{
|
{
|
||||||
|
$htmltext=eregi_replace('"',"\'",$htmltext);
|
||||||
if ($tooltipon==1 || $tooltipon==3)
|
if ($tooltipon==1 || $tooltipon==3)
|
||||||
{
|
{
|
||||||
$paramfortooltiptext.=' onmouseover="showtip(\''.$htmltext.'\')"';
|
$paramfortooltiptext.=' onmouseover="showtip(\''.$htmltext.'\')"';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user