forked from extern/egroupware
Calendar - Toolbar '+' button changed to add event on first day of current view, previously was always 'today'
This commit is contained in:
parent
cb0f574e82
commit
b8e8658226
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user