mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Stop event widget from altering cache data. Fixes list view showing offset times.
This commit is contained in:
parent
bc4362c22e
commit
c8c11a00de
@ -183,14 +183,17 @@ var et2_calendar_event = (function(){ "use strict"; return et2_valueWidget.exten
|
||||
* Callback for changes in cached data
|
||||
*/
|
||||
_UID_callback: function _UID_callback(event) {
|
||||
// Copy to avoid changes, which may cause nm problems
|
||||
var value = jQuery.extend({},event);
|
||||
|
||||
// Make sure id is a string, check values
|
||||
if(event)
|
||||
if(value)
|
||||
{
|
||||
this._values_check(event);
|
||||
this._values_check(value);
|
||||
}
|
||||
|
||||
// Check for changing days in the grid view
|
||||
if(!this._sameday_check(event))
|
||||
if(!this._sameday_check(value))
|
||||
{
|
||||
// This should now cease to exist, as new events have been created
|
||||
this.free();
|
||||
@ -198,7 +201,7 @@ var et2_calendar_event = (function(){ "use strict"; return et2_valueWidget.exten
|
||||
}
|
||||
|
||||
// Copy to avoid changes, which may cause nm problems
|
||||
this.options.value = jQuery.extend({},event);
|
||||
this.options.value = jQuery.extend({},value);
|
||||
|
||||
if(this._parent.options.date)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user