forked from extern/egroupware
Calendar planner view shows event title instead of timespan for events > 8 hours
Now fixed for events spanning multiple days
This commit is contained in:
parent
a8e91c5ac8
commit
399dd4cec5
@ -411,7 +411,7 @@ var et2_calendar_event = (function(){ "use strict"; return et2_valueWidget.exten
|
|||||||
else if (this.getParent() && this.getParent().instanceOf(et2_calendar_planner_row))
|
else if (this.getParent() && this.getParent().instanceOf(et2_calendar_planner_row))
|
||||||
{
|
{
|
||||||
// Less than 8 hours is small
|
// Less than 8 hours is small
|
||||||
this.div.toggleClass('calendar_calEventSmall',this.options.value.end_m - this.options.value.start_m < 480);
|
this.div.toggleClass('calendar_calEventSmall',this.options.value.end.valueOf() - this.options.value.start.valueOf() < 28800000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user