mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +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
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
|
// 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