Explorar o código

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 %!s(int64=7) %!d(string=hai) anos
pai
achega
220a2537e8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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,