forked from extern/egroupware
Try to not fetch todos from infolog on Calendar's initialization and let day view fetches them via ajax call as it might be expensive operation
This commit is contained in:
parent
2593932bc1
commit
ada81b6b5f
@ -236,7 +236,7 @@ class calendar_uiviews extends calendar_ui
|
||||
// Load the different views once, we'll switch between them on the client side
|
||||
$todo = new Etemplate('calendar.todo');
|
||||
$label = '';
|
||||
$todo->exec('calendar_uiviews::index',array('todos'=>$this->get_todos($label), 'label' => $label));
|
||||
$todo->exec('calendar_uiviews::index',array('todos'=>'', 'label' => $label));
|
||||
|
||||
// Actually, this takes care of most of it...
|
||||
$this->week();
|
||||
|
Loading…
Reference in New Issue
Block a user