mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-05 13:00:14 +01:00
Always show weekends in month view
This commit is contained in:
parent
a6d933e3ed
commit
b7f7c40d28
@ -2366,7 +2366,7 @@ app.classes.calendar = AppJS.extend(
|
|||||||
// Set to week view, if in one of the views where we change view
|
// Set to week view, if in one of the views where we change view
|
||||||
if(app.calendar.sidebox_changes_views.indexOf(view) >= 0)
|
if(app.calendar.sidebox_changes_views.indexOf(view) >= 0)
|
||||||
{
|
{
|
||||||
app.calendar.update_state({view: 'week', date: date.getValue()});
|
app.calendar.update_state({view: 'week', date: date.getValue(), days: false});
|
||||||
}
|
}
|
||||||
else if (app.calendar.state.view == 'planner')
|
else if (app.calendar.state.view == 'planner')
|
||||||
{
|
{
|
||||||
@ -2689,6 +2689,10 @@ jQuery.extend(app.classes.calendar,{
|
|||||||
var d = new Date(app.calendar.state.date);
|
var d = new Date(app.calendar.state.date);
|
||||||
d.setUTCMonth(d.getUTCMonth() + delta);
|
d.setUTCMonth(d.getUTCMonth() + delta);
|
||||||
return d;
|
return d;
|
||||||
|
},
|
||||||
|
show_weekend: function(state)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user