Fix on smartphone
This commit is contained in:
parent
854a71726c
commit
53b36435d0
@ -1095,7 +1095,7 @@ else
|
|||||||
$htmltext.='</i>';
|
$htmltext.='</i>';
|
||||||
|
|
||||||
// Print mail content
|
// Print mail content
|
||||||
print load_fiche_titre($langs->trans("EMail"), $form->textwithpicto($langs->trans("AvailableVariables"), $htmltext, 1, 'help', '', 0, 2, 'emailsubstitionhelp'), 'title_generic');
|
print load_fiche_titre($langs->trans("EMail"), $form->textwithpicto('<span class="hideonsmartphone">'.$langs->trans("AvailableVariables").'</span>', $htmltext, 1, 'help', '', 0, 2, 'emailsubstitionhelp'), 'title_generic');
|
||||||
|
|
||||||
dol_fiche_head('', '', '', -1);
|
dol_fiche_head('', '', '', -1);
|
||||||
|
|
||||||
|
|||||||
@ -523,8 +523,13 @@ class Form
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// If info or help with smartphone, show only text (tooltip can't works)
|
// If info or help with smartphone, show only text (tooltip hover can't works)
|
||||||
if (! empty($conf->dol_no_mouse_hover))
|
if (! empty($conf->dol_no_mouse_hover) && empty($tooltiptrigger))
|
||||||
|
{
|
||||||
|
if ($type == 'info' || $type == 'help') return $text;
|
||||||
|
}
|
||||||
|
// If info or help with smartphone, show only text (tooltip on lick does not works with dialog on smaprtphone)
|
||||||
|
if (! empty($conf->dol_no_mouse_hover) && ! empty($tooltiptrigger))
|
||||||
{
|
{
|
||||||
if ($type == 'info' || $type == 'help') return $text;
|
if ($type == 'info' || $type == 'help') return $text;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user