mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
* Calendar - Fix moving event to an un-loaded day would show only that event when the day is viewed
This commit is contained in:
parent
89f4deba8e
commit
2e470ddee0
@ -193,6 +193,7 @@ var et2_calendar_event = (function(){ "use strict"; return et2_valueWidget.exten
|
||||
_UID_callback: function _UID_callback(event) {
|
||||
// Copy to avoid changes, which may cause nm problems
|
||||
var value = event === null ? null : jQuery.extend({},event);
|
||||
var parent = this._parent;
|
||||
|
||||
// Make sure id is a string, check values
|
||||
if(value)
|
||||
@ -204,8 +205,7 @@ var et2_calendar_event = (function(){ "use strict"; return et2_valueWidget.exten
|
||||
if(!this._sameday_check(value))
|
||||
{
|
||||
// May need to update parent to remove out-of-view events
|
||||
var parent = this._parent;
|
||||
this._parent.removeChild(this);
|
||||
parent.removeChild(this);
|
||||
if(event === null && parent && parent._out_of_view)
|
||||
{
|
||||
parent._out_of_view();
|
||||
@ -824,7 +824,7 @@ var et2_calendar_event = (function(){ "use strict"; return et2_valueWidget.exten
|
||||
{
|
||||
new_daywise.push(event.row_id);
|
||||
}
|
||||
if(new_daywise.data !== null)
|
||||
if(egw.dataHasUID(new_cache_id))
|
||||
{
|
||||
egw.dataStoreUID(new_cache_id,new_daywise);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user