mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Fix not working infinite loop check
(thanks, Scrutenizer)
This commit is contained in:
parent
7a5ebcc89b
commit
f5ec39200b
@ -1062,7 +1062,7 @@ var et2_calendar_timegrid = (function(){ "use strict"; return et2_calendar_view.
|
|||||||
}
|
}
|
||||||
// Limit it to 14 days to avoid infinite loops in case something is mis-set,
|
// Limit it to 14 days to avoid infinite loops in case something is mis-set,
|
||||||
// though the limit is more based on how wide the screen is
|
// though the limit is more based on how wide the screen is
|
||||||
while(end >= this.date_helper.date.getTime() && i <= 14)
|
while(end >= this.date_helper.date.getTime() && i++ <= 14)
|
||||||
|
|
||||||
return day_list;
|
return day_list;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user