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
6e0e86ced2
commit
be20b14c2c
@ -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