From 7643d2ee5a9f8a9dbe425404d3c0297030574437 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Tue, 25 May 2010 12:44:26 -0400 Subject: [PATCH] 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. --- kronolith/js/kronolith.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.11.0