forked from extern/egroupware
Fix weekview shown as list when preference was none
This commit is contained in:
parent
069da4dace
commit
db7528b249
@ -3416,7 +3416,7 @@ app.classes.calendar = AppJS.extend(
|
||||
* How big or small are the displayed time chunks?
|
||||
*/
|
||||
granularity: function(state) {
|
||||
var list = egw.preference('use_time_grid','calendar') || 'weekN';
|
||||
var list = egw.preference('use_time_grid','calendar');
|
||||
if(typeof list == 'string') list = list.split(',');
|
||||
if(!list.indexOf && jQuery.isPlainObject(list))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user