Internal: Make sure that UI dialogs are never bigger than the browser's window (not used in iTop though).

SVN:trunk[4940]
This commit is contained in:
Denis Flaven
2017-09-26 09:58:20 +00:00
parent ec2a2d3505
commit 78a68bb361

View File

@@ -360,6 +360,7 @@ EOF
<<<EOF
$('#$sDialogId').dialog({
height: 'auto',
maxHeight: $(window).height() - 8,
width: $iDialogWidth,
modal: true,
autoOpen: $sAutoOpen,