projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc0d79c
)
Check that the start date is between the view's start and end date.
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Tue, 25 May 2010 16:44:26 +0000
(12:44 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Tue, 25 May 2010 16:44:26 +0000
(12:44 -0400)
start date is the start of the received events list, not the start
of the view.
kronolith/js/kronolith.js
patch
|
blob
|
history
diff --git
a/kronolith/js/kronolith.js
b/kronolith/js/kronolith.js
index
04246a8
..
29ece7d
100644
(file)
--- 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;
}