Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#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)

treeV3_2.patch (378 bytes) - added by ornus 13 years ago.
Patch to fix the problem.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by ornus

Attachment: treeV3_2.patch added

Patch to fix the problem.

comment:1 Changed 13 years ago by ornus

Owner: changed from bill to ilia

comment:2 Changed 13 years ago by ilia

Resolution: fixed
Status: newclosed

comment:3 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.