mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
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)
|
switch(action.id)
|
||||||
{
|
{
|
||||||
case 'add':
|
case 'add':
|
||||||
return egw.open(null,"calendar","add");
|
return egw.open(null,"calendar","add", {start: app.calendar.state.first});
|
||||||
case 'weekend':
|
case 'weekend':
|
||||||
this.update_state({weekend: action.checked});
|
this.update_state({weekend: action.checked});
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user