Fix warning

This commit is contained in:
Laurent Destailleur
2023-06-06 00:19:55 +02:00
parent 5b175c2df4
commit 35c827ea6a

View File

@@ -128,7 +128,7 @@ if (empty($conf->dol_no_mouse_hover)) {
print '
jQuery(".classfortooltiponclicktext").dialog({
closeOnEscape: true, classes: { "ui-dialog": "highlight" },
maxHeight: window.innerHeight-60, width: '.($conf->browser->layout == 'phone' ? max($_SESSION['dol_screenwidth'] - 20, 320) : 700).',
maxHeight: window.innerHeight-60, width: '.($conf->browser->layout == 'phone' ? max((empty($_SESSION['dol_screenwidth']) ? 0 : $_SESSION['dol_screenwidth']) - 20, 320) : 700).',
modal: true,
autoOpen: false
}).css("z-index: 5000");