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 ' print '
jQuery(".classfortooltiponclicktext").dialog({ jQuery(".classfortooltiponclicktext").dialog({
closeOnEscape: true, classes: { "ui-dialog": "highlight" }, 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, modal: true,
autoOpen: false autoOpen: false
}).css("z-index: 5000"); }).css("z-index: 5000");