Closed Bug 164435 Opened 22 years ago Closed 22 years ago

OK and CACNEL in Edit Event do not work correctly when Edit Event is called from alarm window

Categories

(Calendar :: Sunbird Only, defect)

x86
Windows 98
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wolfson_uk, Assigned: mikeypotter)

Details

When opening the Edit Event window from the new button in the alarm window, the OK and CANCEL buttons in the Edit Event window do nor work properly. I can ONLY close the edit window by clicking on "Cancel" and it actually DOES take over any changes I have made to the event. Clicking on OK shows no reaction at all. I'd suggest OK should work, and CANCEL should be CANCEL again ;-) I would also suggest that the alarm window closes automatically, when edit event is opened from it. Having both windows open seems confusing (and the alarm window does not update e.g. the time information when I change it in the edit window)
CONFIRMING using build 2002081716 and the version of calender currently available from http://www.mozilla.org/projects/calendar/ (how do I see the build number or date of the currently installed calender?). As far as I can see, inserting the following in modifyEventDialogResponse in calenderEventAlertDialog.js (http://lxr.mozilla.org/mozilla/source/calendar/resources/content/calendarEventAlertDialog.js#271) will fix the problem: var calendarEventService = opener.gEventSource; var gICalLib = calendarEventService.getICalLib(); Reporter: your suggestion about the alarm window should be filed as a seperate bug/RFE. Please mention only one issue per Bugzilla bug.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → ASSIGNED
Fixed in CVS.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: colint → sunbird
You need to log in before you can comment on or make changes to this bug.