[eGroupWare-svn] r55986 - /trunk/calendar/js/et2_widget_event.js
[email protected] Mon, 02 May 2016 20:24:04 -0000
| Newsgroups | gmane.comp.web.egroupware.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: nathangray
Date: Mon May 2 22:24:04 2016
New Revision: 55986
URL: http://svn.stylite.de/viewvc/egroupware?rev=55986&view=rev
Log:
Stop event widget from altering cache data. Fixes list view showing offset times.
Modified:
trunk/calendar/js/et2_widget_event.js
Modified: trunk/calendar/js/et2_widget_event.js
URL: http://svn.stylite.de/viewvc/egroupware/trunk/calendar/js/et2_widget_event.js?rev=55986&r1=55985&r2=55986&view=diff
==============================================================================
--- trunk/calendar/js/et2_widget_event.js (original)
+++ trunk/calendar/js/et2_widget_event.js Mon May 2 22:24:04 2016
@@ -183,14 +183,17 @@
* 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)
- {
- this._values_check(event);
+ if(value)
+ {
+ 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 @@
}
// 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)
{
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z