Author: nathangray
New Revision: 55097
URL: http://svn.stylite.de/viewvc/egroupware?rev=55097&view=rev
Log:
Stop calendar from activating itself on every infolog save.
Modified:
trunk/calendar/js/app.js
— trunk/calendar/js/app.js (original)
+++ trunk/calendar/js/app.js Mon Feb 22 16:43:03 2016
@@ -255,7 +255,7 @@
if (do_refresh)
{
// Discard cache, reload
@@ -297,18 +297,8 @@
}
else
{
-
// Full refresh, clear the caches
-
var events = egw.dataKnownUIDs(_app);
-
for(var i = 0; i < events.length; i++)
-
{
-
egw.dataDeleteUID(_app + '::' + events[i]);
-
}
-
var daywise = egw.dataKnownUIDs(app.classes.calendar.DAYWISE_CACHE_ID);
-
for(var i = 0; i < daywise.length; i++)
-
{
-
// Empty to clear existing widgets
-
egw.dataStoreUID(app.classes.calendar.DAYWISE_CACHE_ID + '::' + daywise[i], null);
-
}
@@ -2584,6 +2574,25 @@
}
},
-
- /**
-
- Clear all calendar data from egw.data cache
- */
- _clear_cache: function() {
-
// Full refresh, clear the caches
-
var events = egw.dataKnownUIDs('calendar');
-
for(var i = 0; i < events.length; i++)
-
{
-
egw.dataDeleteUID('calendar::' + events[i]);
-
}
-
var daywise = egw.dataKnownUIDs(app.classes.calendar.DAYWISE_CACHE_ID);
-
for(var i = 0; i < daywise.length; i++)
-
{
-
// Empty to clear existing widgets
-
egw.dataStoreUID(app.classes.calendar.DAYWISE_CACHE_ID + '::' + daywise[i], null);
-
}
- },
- /**
- Take the date range(s) in the value and decide if we need to fetch data
- for the date ranges, or if they’re already cached fill them in.
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs