Fix new events do not show up immediately after saving in 4 day view

This commit is contained in:
nathangray 2016-12-02 14:44:54 -07:00
parent 016a1cadde
commit 208fa0d261

View File

@ -2977,7 +2977,7 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
var multiple_owner = typeof state.owner != 'string' &&
state.owner.length > 1 &&
(state.view == 'day' && state.owner.length < parseInt(this.egw.preference('day_consolidate','calendar')) ||
state.view == 'week' && state.owner.length < parseInt(this.egw.preference('week_consolidate','calendar')));
['week','day4'].indexOf(state.view) !== -1 && state.owner.length < parseInt(this.egw.preference('week_consolidate','calendar')));
for(var i = 0; i < data.length; i++)