#1179 closed defect (fixed)
TreeCommon.listenTree with listenTreeEvents = null
Reported by: | ornus | Owned by: | ilia |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Widgets | Version: | 0.3 |
Keywords: | tree exception | Cc: | |
Blocked By: | Blocking: |
Description
TreeCommon?.listenTree causes an exception if listenTreeEvents is undefined. You can't expect extension developers to always defined it. The best solution would be to declare an empty listenTreeEvents in TreeCommon?. Extension author can override it by providing custom listenTreeEvents.
Attachments (1)
Change History (4)
Changed 15 years ago by
Attachment: | treeV3_2.patch added |
---|
comment:1 Changed 15 years ago by
Owner: | changed from bill to ilia |
---|
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Patch to fix the problem.