mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Stop little scrolling when mouseover week label or header with long (ends 21:00+) days
This commit is contained in:
parent
80e935fb0b
commit
88338c2c8c
@ -1700,6 +1700,12 @@ var et2_calendar_timegrid = (function(){ "use strict"; return et2_calendar_view.
|
||||
}
|
||||
var node = document.elementFromPoint(x,y);
|
||||
|
||||
// Ignore high level & non-time (grid itself, header parent & week label)
|
||||
if([this.node, this.gridHeader[0], this._labelContainer[0]].indexOf(node) !== -1)
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
while(node && node != this.node && node.tagName != 'BODY' && path.length < 10)
|
||||
{
|
||||
path.push(node);
|
||||
|
Loading…
Reference in New Issue
Block a user