mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
Planner view
- Fix extra sub-category events when hiding empty rows
This commit is contained in:
parent
cd9381c223
commit
c3900b27a4
@ -819,6 +819,11 @@ var et2_calendar_planner = et2_valueWidget.extend([et2_IDetachedDOM, et2_IResize
|
||||
// Draw the rows
|
||||
for(var key in labels)
|
||||
{
|
||||
if((!app.calendar.state.cat_id || app.calendar.state.cat_id == '') && labels[key].id != labels[key].main)
|
||||
{
|
||||
// Skip sub-categories (events are merged into top level)
|
||||
continue;
|
||||
}
|
||||
var row = grouper.draw_row.call(this,labels[key].id, labels[key].label, events[key] || []);
|
||||
|
||||
// Add extra data for clicking on row
|
||||
|
Loading…
Reference in New Issue
Block a user