#8399 closed defect (fixed)
make dijit.Tree more friendly to subclassing
Reported by: | liucougar | Owned by: | liucougar |
---|---|---|---|
Priority: | high | Milestone: | 1.3 |
Component: | Dijit | Version: | 1.2.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
the attached patch rearranges some internal code for Tree to make it easier to subclassing it:
- using dojo.addClass/removeClass to manipulate class on the contentNode, instead of setting className directly (this makes it possible to attach other classes to contentNode)
- moved all persist related code to functions, which can be overriden in subclass
- a minor doc update
Attachments (1)
Change History (3)
Changed 12 years ago by
Attachment: | 8399.patch added |
---|
comment:1 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(In [16306]) fixes #8399: !strict