mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Fix click on label / week number changes to that owner / week
This commit is contained in:
parent
3ecd30fb35
commit
e79b418f04
@ -1632,9 +1632,15 @@ var et2_calendar_timegrid = (function(){ "use strict"; return et2_calendar_view.
|
||||
}
|
||||
return result;
|
||||
}
|
||||
else if (this.gridHeader.is(_ev.target) && _ev.target.dataset)
|
||||
else if (this.gridHeader.is(_ev.target) && _ev.target.dataset ||
|
||||
this._labelContainer.is(_ev.target) && this.gridHeader[0].dataset)
|
||||
{
|
||||
app.calendar.update_state(jQuery.extend({view: 'week'},_ev.target.dataset));
|
||||
app.calendar.update_state(jQuery.extend(
|
||||
{view: 'week'},
|
||||
this._labelContainer.is(_ev.target) ?
|
||||
this.gridHeader[0].dataset :
|
||||
_ev.target.dataset
|
||||
));
|
||||
}
|
||||
else if (this.dayHeader.has(_ev.target).length)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user