mirror of
https://github.com/Mibew/mibew.git
synced 2025-05-08 13:33:06 +03:00
Increase fixed delay for windows autoclose after save canned messages and translations
This commit is contained in:
parent
5e3eacbb69
commit
3215cad462
@ -27,7 +27,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
|||||||
if(window.opener && window.opener.location) {
|
if(window.opener && window.opener.location) {
|
||||||
window.opener.location.reload();
|
window.opener.location.reload();
|
||||||
}
|
}
|
||||||
setTimeout( (function() { window.close(); }), 500 );
|
setTimeout( (function() { window.close(); }), 1500 );
|
||||||
//--></script>
|
//--></script>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if( !$page['saved'] ) { ?>
|
<?php if( !$page['saved'] ) { ?>
|
||||||
|
@ -27,7 +27,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
|||||||
if(window.opener && window.opener.location) {
|
if(window.opener && window.opener.location) {
|
||||||
window.opener.location.reload();
|
window.opener.location.reload();
|
||||||
}
|
}
|
||||||
setTimeout( (function() { window.close(); }), 500 );
|
setTimeout( (function() { window.close(); }), 1500 );
|
||||||
//--></script>
|
//--></script>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if( !$page['saved'] ) { ?>
|
<?php if( !$page['saved'] ) { ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user