Closed Bug 254737 Opened 22 years ago Closed 22 years ago

Event Dialog, Task Dialog: Clicking repeat number of times doesn't disable repeat until datepicker

Categories

(Calendar :: Sunbird Only, defect)

x86
Windows 2000
defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gekacheka, Assigned: mostafah)

References

Details

Attachments

(4 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3 In the Event Dialog and Task Dialog, in the Recurrence tab, Clicking on "Number of Times" does not disable the datepicker. Reproducible: Always Steps to Reproduce: 1. New Event 2. click Recurrence tab 3. check Repeat every 4. select "Until" radio button datepicker becomes enabled 5. select "Number of times" radio button Actual Results: Datepicker stays enabled Expected Results: Datepicker becomes disabled. Clicking "forever" radio button does disable datepicker, but not number of times text box.
Adds oncommand="commandUntil()" to repeat-numberoftimes-radio. Also cleans up indentation, removes an unnecessary vbox.
updateUntilItemEnabled(): Added code to enable/disable repeat-number-of-times checkbox (To reduce confusion, also renamed local var repeatEndText to untilPicker as it is now a datepicker not a textbox)
As in eventDialog.xul
As in eventDialog.js
Tested on Mozilla 1.7.2, Mozilla 1.8a2, Firefox 0.9.3 Tested both Event dialog and Task dialog using steps in comment #0.
Attachment #155454 - Flags: first-review?(mostafah)
Attachment #155456 - Attachment description: eventiDialog.js patch: enable/disable repeat-numberoftimes-checkbox → eventDialog.js patch: enable/disable repeat-numberoftimes-radio
Attachment #155456 - Flags: first-review?(mostafah)
Attachment #155457 - Flags: first-review?(mostafah)
Attachment #155459 - Attachment description: eventDialog.js patch: enable/disable repeat-numberoftimes-radio → toDoDialog.js patch: enable/disable repeat-numberoftimes-radio
Attachment #155459 - Flags: first-review?(mostafah)
Attachment #155454 - Flags: first-review?(mostafah) → first-review+
Attachment #155456 - Flags: first-review?(mostafah) → first-review+
Attachment #155457 - Flags: first-review?(mostafah) → first-review+
Attachment #155459 - Flags: first-review?(mostafah) → first-review+
All patches checked in. Thanks
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
*** Bug 231675 has been marked as a duplicate of this bug. ***
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: gurganbl → sunbird
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: