소스 검색

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,