Closed Bug 825778 Opened 7 years ago Closed 7 years ago
Event dialog: the Save&Close button can wrongly be in disabled status with tasks and timezone enabled
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.
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)
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: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.3
You need to log in before you can comment on or make changes to this bug.