#1193 closed defect (fixed)
dojo.selection.Selection#length is outdated.
Reported by: | Owned by: | dylan | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Collections | Version: | 0.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Working with dojo.selection.Selection, I'm having trouble with the length property. This field is a copy of the length property of the internal selection array, but it's not updated when items are selected or deselected. Instead, you have to force an update with updateSelected().
I'm wondering whether this is a feature or a bug, in case of the latter I'd be more than willing to provide a patch.
Attachments (1)
Change History (10)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Owner: | changed from Tom Trenka to guest |
---|---|
Status: | new → assigned |
Hmm, needed it for a specific outliner application? ;-)
I'll fix it, although it isn't a very high priority right now. I'll be back in a week or two for sure.
comment:3 Changed 14 years ago by
Milestone: | → 0.5 |
---|
Changed 14 years ago by
Attachment: | patch.diff added |
---|
SVN diff of the required changes to fix the issue.
comment:4 Changed 14 years ago by
Owner: | changed from guest to dylan |
---|---|
Status: | assigned → new |
comment:5 Changed 14 years ago by
Status: | new → assigned |
---|
comment:6 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:7 Changed 14 years ago by
Milestone: | 0.5 → 0.4 |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
comment:8 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note: See
TracTickets for help on using
tickets.
I think that's probably a bug (I did the original code).