Attempt at solving wrong window going to front on event window.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1990 e3e1d417-86f3-4887-817a-d78f3d33393fpull/27/merge
parent
8b01ebc8a4
commit
cb838481d8
|
@ -76,7 +76,6 @@ function closeWindow()
|
|||
var filterWindow = window.open( "<?= $PHP_SELF ?>?view=none", 'zmFilter', 'width=1,height=1' );
|
||||
filterWindow.close();
|
||||
}
|
||||
window.focus();
|
||||
<?php
|
||||
if ( isset($filter) )
|
||||
{
|
||||
|
@ -489,6 +488,9 @@ function viewEvents( form, name )
|
|||
<?php } ?>
|
||||
</table></center>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
window.setTimeout( "window.focus()", 500 );
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
|
|
|
@ -155,6 +155,7 @@ if ( empty($sort_field) )
|
|||
<title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangEventFilter ?></title>
|
||||
<link rel="stylesheet" href="zm_html_styles.css" type="text/css">
|
||||
<script type="text/javascript">
|
||||
window.focus();
|
||||
function newWindow(Url,Name,Width,Height)
|
||||
{
|
||||
var Win = window.open(Url,Name,"resizable,scrollbars,width="+Width+",height="+Height);
|
||||
|
@ -258,7 +259,6 @@ function delTerm( form, line )
|
|||
form.subaction.value = line;
|
||||
form.submit();
|
||||
}
|
||||
window.focus();
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Reference in New Issue