mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Deal with planner days set as string instead of int
This commit is contained in:
parent
ac16d1fb95
commit
85135e6790
@ -3242,6 +3242,10 @@ jQuery.extend(app.classes.calendar,{
|
||||
},
|
||||
end_date: function(state) {
|
||||
var d = app.calendar.View.end_date.call(this, state);
|
||||
if(state.planner_days)
|
||||
{
|
||||
state.planner_days = parseInt(state.planner_days);
|
||||
}
|
||||
if(state.sortby && state.sortby === 'month')
|
||||
{
|
||||
d.setUTCDate(0);
|
||||
|
Loading…
Reference in New Issue
Block a user