mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
store whole state in prefs, so calendar displays identical view after a new login (beside the date)
This commit is contained in:
parent
e977610a4b
commit
3f344fd852
@ -251,7 +251,8 @@ class calendar_hooks
|
|||||||
}
|
}
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'defaultcalendar' => array(
|
/* not longer used, as we store whole state in prefs
|
||||||
|
'defaultcalendar' => array(
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'label' => 'default calendar view',
|
'label' => 'default calendar view',
|
||||||
'name' => 'defaultcalendar',
|
'name' => 'defaultcalendar',
|
||||||
@ -261,6 +262,7 @@ class calendar_hooks
|
|||||||
'admin' => False,
|
'admin' => False,
|
||||||
'default'=> 'week',
|
'default'=> 'week',
|
||||||
),
|
),
|
||||||
|
*/
|
||||||
'days_in_weekview' => array(
|
'days_in_weekview' => array(
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'label' => 'default week view',
|
'label' => 'default week view',
|
||||||
|
@ -123,7 +123,7 @@ class calendar_ui
|
|||||||
/**
|
/**
|
||||||
* @var array $states_to_save all states that will be saved to the user prefs
|
* @var array $states_to_save all states that will be saved to the user prefs
|
||||||
*/
|
*/
|
||||||
var $states_to_save = array('owner','filter');
|
var $states_to_save = array('owner','filter','cat_id','view','sortby','planner_days');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
Loading…
Reference in New Issue
Block a user