Calendar - Toolbar '+' button changed to add event on first day of current view, previously was always 'today'

This commit is contained in:
nathangray 2017-03-03 10:00:15 -07:00
parent cb0f574e82
commit b8e8658226

View File

@ -483,7 +483,7 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
switch(action.id)
{
case 'add':
return egw.open(null,"calendar","add");
return egw.open(null,"calendar","add", {start: app.calendar.state.first});
case 'weekend':
this.update_state({weekend: action.checked});
break;