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

SVN:2.4[4941]
This commit is contained in:
Denis Flaven
2017-09-26 10:00:24 +00:00
parent 4611442665
commit c016ca364d

View File

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