Closed Bug 825778 Opened 12 years ago Closed 11 years ago

Event dialog: the Save&Close button can wrongly be in disabled status with tasks and timezone enabled

Categories

(Calendar :: Dialogs, defect)

Lightning 1.9
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bv1578, Assigned: bv1578)

References

Details

Attachments

(1 file)

Steps to reproduce:

1. create a new task with entry date and due date and e.g. 1 hour duration;
2. enable and select different timezones for the two dates in a manner that the time difference between the timezones is positive and greater than the task duration e.g. 
    entry date:  Europe/Paris (UTC/GMT+1)
    due date:    America/New York (UTC/GMT-5);
3. change the time for the entry date so that the due date will be in the previous day e.g.
    entry date 09/01/2013 2:00  Europe/Paris
    due date   08/01/2013 21:00 America/New York;
4. save and close the dialog;
5. reopen the task;


Actual result:
When reopening the dialog, the Save and Close button is disabled and the status doesn't change even when selecting a new (correct) due date in the datepicker.
Attached patch patch - v1 — — Splinter Review
The function updateAccept() doesn't keep in count the timezones for tasks.
The patch should fix.

This patch should be applied after the patch for bug 410427 (only for line numbers shifting).
Attachment #704267 - Flags: review?(philipp)
Depends on: 410427
Comment on attachment 704267 [details] [diff] [review]
patch - v1

r=philipp
Attachment #704267 - Flags: review?(philipp) → review+
Pushed to comm-central http://hg.mozilla.org/comm-central/rev/899bbca945e5
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: