Closed Bug 345848 Opened 18 years ago Closed 18 years ago
Drag and drop of tasks isn't possible in the calender view
I can't emphasize enough how awesome it is to have this unified now. Patch does the standard startDate || entryDate foo when we try to modify a task in the views.
Assignee: nobody → jminta
Status: NEW → ASSIGNED
Attachment #230687 - Flags: first-review?(dmose)
Comment on attachment 230687 [details] [diff] [review] startDate || entryDate - var startDiff = instance.startDate.subtractDate(aOccurrence.startDate); + var instanceStart = instance.startDate || instance.entryDate; + var occStart = aOccurrence.startDate || aOccurrence.entryDate; + var startDiff = instanceStart.subtractDate(occStart); aNewStartTime.addDuration(startDiff); - var endDiff = instance.endDate.subtractDate(aOccurrence.endDate); + var instanceEnd = instance.endDate || instance.dueDate; + var occEnd = aOccurrence.endDate || aOccurrence.dueDate; + var endDiff = instanceEnd.subtractDate(occEnd); aNewEndTime.addDuration(endDiff); Add a little bit of comment here to make this easier to read.
Attachment #230687 - Flags: first-review?(dmose) → first-review-
without the bitrot and with mroe comments this time.
Comment on attachment 231598 [details] [diff] [review] startDate || entryDate v2 @@ -219,55 +232,58 @@ function getStyleSheet(aStyleSheetPath) // category (and hence doesn't have a uri), we set the border color. If // it's a calendar, we set the background color I don't want anything below this point. r=dmose for the top bit.
Attachment #231598 - Flags: first-review?(dmose) → first-review+
patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
vefyfied with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060820 Calendar/0.3a2+
Litmus testcase 2595 created
Whiteboard: [litmus testcase wanted]
You need to log in before you can comment on or make changes to this bug.