ソースを参照

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,