forked from Wavyzz/dolibarr
Fix warning
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user