From: Michael J. Rubinsky Date: Tue, 25 May 2010 16:44:26 +0000 (-0400) Subject: Check that the start date is between the view's start and end date. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7643d2ee5a9f8a9dbe425404d3c0297030574437;p=horde.git Check that the start date is between the view's start and end date. start date is the start of the received events list, not the start of the view. --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 04246a86c..29ece7d48 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -1354,7 +1354,8 @@ KronolithCore = { // Check if the result is still for the current view. currentDates = this.viewDates(this.date, this.view); if (r.response.view != this.view || - !currentDates[0].equals(start)) { + !start.between(currentDates[0], currentDates[1])) { + return; }