Closed
Bug 331145
Opened 20 years ago
Closed 19 years ago
Tooltip for task without due date is not displayed and causes javascript error
Categories
(Calendar :: Sunbird Only, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: ssitter, Assigned: jminta)
References
Details
Attachments
(1 file, 1 obsolete file)
7.09 KB,
patch
|
mvl
:
first-review+
|
Details | Diff | Splinter Review |
Tooltip for task without due date is not displayed and causes javascript error
Steps to Reproduce:
1) Create a new task and specify start date but no due date
2) Hover mouse pointer over task item in task pane -> tooltip is displayed, OK
3) Switch to multiweek or month view
4) Enable menu option View -> Tasks in View
5) Hover mouse pointer over task item in multiweek or month view
Actual Results:
No tooltip is displayed. JavaScript console shows the following error:
Error: occurrence.dueDate has no properties
Source File: chrome://calendar/content/mouseoverPreviews.js
Line: 73
Expected Results:
A tooltip is displayed showing task details.
Additional Information:
If you specify a due date the tooltip is displayed but shows only start date.
Tested with Sunbird 0.3a1+ (20060320) build.
![]() |
Assignee | |
Comment 1•20 years ago
|
||
Might be best to wait on this until after Bug 322768. Moving away from jsDate, as that bug helps us do, will make it easier to handle null-cases.
![]() |
Assignee | |
Comment 2•19 years ago
|
||
This patch fixes the above error by moving mouseoverPreviews away from jsDate to calDateTime. This required also fixing getCurrentNextOrPreviousOccurrence to similarly stop using jsDate. I also removed the code referring to eventStart and eventEnd, since those variables never seemed to be used anywhere!
![]() |
Assignee | |
Comment 3•19 years ago
|
||
*** Bug 333745 has been marked as a duplicate of this bug. ***
Updated•19 years ago
|
Whiteboard: waiting for mvl review
![]() |
Assignee | |
Updated•19 years ago
|
Flags: blocking0.3+
Whiteboard: waiting for mvl review → [waiting for mvl review]
Reporter | ||
Comment 4•19 years ago
|
||
Comment on attachment 221498 [details] [diff] [review]
more jsdate killing
From a quick test with this patch: The tooltips work nice with different kinds of normal events/tasks. The only minor issue I saw was with a single-all-day event, where the tooltip was like "03.08.2006 - "
![]() |
Assignee | |
Comment 5•19 years ago
|
||
Patch updated to include a fix for ssitter's testing comment.
Attachment #221498 -
Attachment is obsolete: true
Attachment #232782 -
Flags: first-review?(mvl)
Attachment #221498 -
Flags: first-review?(mvl)
![]() |
||
Comment 6•19 years ago
|
||
Comment on attachment 232782 [details] [diff] [review]
more jsdate killing v2
r=mvl
Attachment #232782 -
Flags: first-review?(mvl) → first-review+
![]() |
||
Updated•19 years ago
|
Whiteboard: [waiting for mvl review] → [patch in hand]
Reporter | ||
Updated•19 years ago
|
Whiteboard: [patch in hand] → [checkin needed]
![]() |
Assignee | |
Comment 7•19 years ago
|
||
Patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Whiteboard: [checkin needed]
![]() |
||
Comment 8•19 years ago
|
||
Verified fixed using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060828 Calendar/0.3a2+
Reporter | ||
Comment 9•19 years ago
|
||
VERIFIED with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1)
Gecko/20060901 Calendar/0.3a2+
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•