Closed Bug 306188 Opened 19 years ago Closed 19 years ago

Context-menu options in task list disappear

Categories

(Calendar :: Sunbird Only, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: robin.edrenius, Assigned: mostafah)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050827 Firefox/1.6a1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050827 Firefox/1.6a1

Context-menu options disappear in the task list.

Reproducible: Always

Steps to Reproduce:
1. Right-click on the calendar-sidebar (I have only tried in month view)
2. Click 'tasks in view' (even though it's greyed out)
3. Right-click a task in the task list

Actual Results:  
Context-menu options 'progress' and 'priority' disappear

Expected Results:  
All context-menu options should have stayed
Problem: When the 'general popup menu' is displayed the attribute 'hidden' is set for the 'is_editable' element. If the popup is shown for the minimonth item 'hidden' is set to true; otherwise false. So if you right click on the minimonth first and click on the task list afterwards to get the 'task popup menu' 'hidden' is still true and progress and priority popup menu are not visible.

Solution: If we display the 'task popup menu' alsways remove the attribute 'hidden' make progress and priority popup menu visible. Afterwards this elements are enabled/disabled depending on if we clicked a task item or just the task list.
Attachment #205754 - Flags: first-review?(jminta)
Comment on attachment 205754 [details] [diff] [review]
remove attribute 'hidden' when showing task popup menu

r=jminta (I'll fix the spelling of disable for checkin)
Attachment #205754 - Flags: first-review?(jminta) → first-review+
patch checked in.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: