Author: nathangray
New Revision: 54969
URL: http://svn.stylite.de/viewvc/egroupware?rev=54969&view=rev
Log:
Avoid potential infinite loop due to logic evaluation order
Modified:
trunk/calendar/js/app.js
Modified: trunk/calendar/js/app.js
URL: http://svn.stylite.de/viewvc/egroupware/trunk/calendar/js/app.js?rev=54969&r1=54968&r2=54969&view=diff
— trunk/calendar/js/app.js (original)
+++ trunk/calendar/js/app.js Wed Feb 10 01:35:54 2016
@@ -2882,7 +2882,7 @@
for(var day in updated_days)
{
// Might be split by user, so we have to check that too
-
for(var i = 0; i < typeof state.owner == 'object' ? state.owner.length : 1; i++)
-
for(var i = 0; i < (typeof state.owner == 'object' ? state.owner.length : 1); i++) { var owner = multiple_owner ? state.owner[i] : state.owner; var cache_id = app.classes.calendar._daywise_cache_id(day, owner);
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