mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 03:13:40 +01:00
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
|
// Load the different views once, we'll switch between them on the client side
|
||||||
$todo = new Etemplate('calendar.todo');
|
$todo = new Etemplate('calendar.todo');
|
||||||
$label = '';
|
$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...
|
// Actually, this takes care of most of it...
|
||||||
$this->week();
|
$this->week();
|
||||||
|
Loading…
Reference in New Issue
Block a user