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
0a96a9f584
commit
b7fe0e87ad
@ -481,7 +481,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