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 ae2e51fba3
commit 0d8c098602

View File

@ -2989,7 +2989,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++)