Преглед изворни кода

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

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4940 a333f486-631f-4898-b8df-5754b55c2be0
dflaven пре 7 година
родитељ
комит
220a2537e8
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      application/forms.class.inc.php

+ 1 - 0
application/forms.class.inc.php

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