Solved issue with full screen
This commit is contained in:
parent
7984d9fcab
commit
60ca2109f3
|
@ -1018,8 +1018,20 @@ class AgentsAlerts extends HTML
|
|||
$(document).ready(function () {
|
||||
var pure = $('#hidden-pure');
|
||||
var mainForm = $('#form-header-filters');
|
||||
var timeout;
|
||||
|
||||
<?php if ($this->pure == 1) { ?>
|
||||
$('.agents_alerts_header').addClass('agent_alerts_header_pure');
|
||||
$('.agents_alerts_header').attr('style', 'display: none');
|
||||
|
||||
document.onmousemove = function(){
|
||||
clearTimeout(timeout);
|
||||
$('.agents_alerts_header').attr('style', 'display: block');
|
||||
timeout = setTimeout(function(){
|
||||
$('.agents_alerts_header').attr('style', 'display: none');
|
||||
}, 1000)
|
||||
}
|
||||
|
||||
setTimeout(function(){
|
||||
mainForm.submit();
|
||||
},
|
||||
|
|
|
@ -48,6 +48,10 @@
|
|||
border: 0;
|
||||
}
|
||||
|
||||
.agent_alerts_header_pure {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.agents_alerts_header form > ul > li {
|
||||
display: inline-flex;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue