forked from extern/egroupware
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(
|
||||
'defaultcalendar' => array(
|
||||
/* not longer used, as we store whole state in prefs
|
||||
'defaultcalendar' => array(
|
||||
'type' => 'select',
|
||||
'label' => 'default calendar view',
|
||||
'name' => 'defaultcalendar',
|
||||
@ -261,6 +262,7 @@ class calendar_hooks
|
||||
'admin' => False,
|
||||
'default'=> 'week',
|
||||
),
|
||||
*/
|
||||
'days_in_weekview' => array(
|
||||
'type' => 'select',
|
||||
'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 $states_to_save = array('owner','filter');
|
||||
var $states_to_save = array('owner','filter','cat_id','view','sortby','planner_days');
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
Loading…
Reference in New Issue
Block a user