forked from extern/egroupware
Calendar: Fix cdbfcb391
broke planner view
This commit is contained in:
parent
467e71e33e
commit
36daa0d2ec
@ -197,6 +197,7 @@ var et2_calendar_event = (function(){ "use strict"; return et2_valueWidget.exten
|
|||||||
// Copy to avoid changes, which may cause nm problems
|
// Copy to avoid changes, which may cause nm problems
|
||||||
var value = event === null ? null : jQuery.extend({},event);
|
var value = event === null ? null : jQuery.extend({},event);
|
||||||
var parent = this._parent;
|
var parent = this._parent;
|
||||||
|
var parent_owner = parent.getDOMNode(parent).dataset['owner'] || parent.getParent().options.owner;
|
||||||
|
|
||||||
// Make sure id is a string, check values
|
// Make sure id is a string, check values
|
||||||
if(value)
|
if(value)
|
||||||
@ -205,7 +206,7 @@ var et2_calendar_event = (function(){ "use strict"; return et2_valueWidget.exten
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check for changing days in the grid view
|
// Check for changing days in the grid view
|
||||||
if(!this._sameday_check(value) || !this._status_check(value, app.calendar.getState().status_filter, parent.options.owner))
|
if(!this._sameday_check(value) || !this._status_check(value, app.calendar.getState().status_filter, parent_owner))
|
||||||
{
|
{
|
||||||
// May need to update parent to remove out-of-view events
|
// May need to update parent to remove out-of-view events
|
||||||
parent.removeChild(this);
|
parent.removeChild(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user