forked from extern/egroupware
* Calendar - fix occasional infinite loop in yearly planner
Something about the events present (or not present) triggered it
This commit is contained in:
parent
0930b52934
commit
efdc25bb37
@ -585,7 +585,7 @@ var et2_calendar_planner = (function(){ "use strict"; return et2_calendar_view.e
|
|||||||
var end_key = end.getFullYear() +'-'+end.getMonth();
|
var end_key = end.getFullYear() +'-'+end.getMonth();
|
||||||
var year = start.getFullYear();
|
var year = start.getFullYear();
|
||||||
var month = start.getMonth();
|
var month = start.getMonth();
|
||||||
while(key !== end_key)
|
while(key <= end_key)
|
||||||
{
|
{
|
||||||
if (++month > 11)
|
if (++month > 11)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user