Closed Bug 298556 Opened 20 years ago Closed 20 years ago

Cannot delete discountinuous task selection

Categories

(Calendar :: Sunbird Only, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jminta, Assigned: mostafah)

Details

Attachments

(1 file)

If you try to delete a selection of tasks that is discontinuous (ie
numRanges>1), Sunbird throws a javascript error:
Error: SelectedItems[i] has no properties
Source File: chrome://calendar/content/calendar.js
Line: 983

Steps to reproduce:
1.) Use Ctrl to select multiple tasks that are not all adjacent to each other.
2.) Choose 'Delete Task' in the context menu.

Actual Results:
Error thrown.

Expected Results:
Delete the selected tasks.
Attached patch Delete multiple tasks — — Splinter Review
Attachment #187109 - Flags: first-review?(mvl)
Attachment #187109 - Flags: first-review?(mvl) → first-review+
patch checked in
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: