Include new login window size instead of console size.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1277 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
c758029bbf
commit
5a7520e741
|
@ -152,6 +152,7 @@ function loadConfig()
|
|||
|
||||
// Javascript window sizes
|
||||
$jws = array(
|
||||
'login' => array( 'w'=>720, 'h'=>480 ),
|
||||
'console' => array( 'w'=>720, 'h'=>312 ),
|
||||
'state' => array( 'w'=>300, 'h'=>120 ),
|
||||
'version' => array( 'w'=>320, 'h'=>140 ),
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<title>ZM - <?= $zmSlangLogin ?></title>
|
||||
<link rel="stylesheet" href="zm_html_styles.css" type="text/css">
|
||||
<script type="text/javascript">
|
||||
window.resizeTo( <?= $jws['console']['w'] ?>, <?= $jws['console']['h'] ?> );
|
||||
window.resizeTo( <?= $jws['login']['w'] ?>, <?= $jws['login']['h'] ?> );
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<title>ZM - <?= $zmSlangLoggingIn ?></title>
|
||||
<link rel="stylesheet" href="zm_html_styles.css" type="text/css">
|
||||
<script type="text/javascript">
|
||||
//window.resizeTo( <?= $jws['console']['w'] ?>, <?= $jws['console']['h'] ?> );
|
||||
//window.resizeTo( <?= $jws['login']['w'] ?>, <?= $jws['login']['h'] ?> );
|
||||
window.setTimeout( "window.location.replace('<?= $PHP_SELF ?>')", 250 );
|
||||
</script>
|
||||
</head>
|
||||
|
|
Loading…
Reference in New Issue