My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions

Issue 1206 attachment: 0001-Fixed-ussue-1206-Moving-from-allDay-event-to-Day-tim.patch (801 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 73bb0ad051632d4907381f0b0e522ead527fbb34 Mon Sep 17 00:00:00 2001
From: Your Name <your_email@whatever.com>
Date: Wed, 14 Dec 2011 19:38:28 +0100
Subject: [PATCH] Fixed ussue 1206: Moving from "allDay" event to Day timeline
should set end time/date

---
src/common/View.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/common/View.js b/src/common/View.js
index e245acf..efc1332 100644
--- a/src/common/View.js
+++ b/src/common/View.js
@@ -235,6 +235,8 @@ function View(element, calendar, viewName) {
addMinutes(addDays(e.start, dayDelta, true), minuteDelta);
if (e.end) {
e.end = addMinutes(addDays(e.end, dayDelta, true), minuteDelta);
+ } else {
+ e.end = defaultEventEnd(e);
}
normalizeEvent(e, options);
}
--
1.7.7.1.msysgit.0

Powered by Google Project Hosting