mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
if nothing left in queue, stop interval-timer to give browser a rest
This commit is contained in:
parent
abac9e96fe
commit
859f83bf39
@ -753,6 +753,12 @@ else
|
||||
|
||||
delete this.jsonq_queue[uid];
|
||||
}
|
||||
// if nothing left in queue, stop interval-timer to give browser a rest
|
||||
if (this.jsonq_timer && typeof this.jsonq_queue['u'+(this.jsonq_uid-1)] != 'object')
|
||||
{
|
||||
window.clearInterval(this.jsonq_timer);
|
||||
this.jsonq_timer = null;
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user