Skip to content

Commit

Permalink
reword warning about calling Tree.startup()
Browse files Browse the repository at this point in the history
  • Loading branch information
wkeese committed Jul 31, 2012
1 parent 469dbaf commit 3d33ecb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions releasenotes/1.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1073,8 +1073,8 @@ Tree
``dijit/Tree::onDblClick(item, node, evt)``, ``evt.currentTarget`` now refers to the
``Tree.domNode``, rather than the ``TreeNode.domNode``. You can access the ``TreeNode`` via the ``node`` parameter.

- If selected ``TreeNodes`` are highlighted strangely, you've probably created the Tree
programatically and forgotten to call ``startup()`` on it.
- If selected ``TreeNodes`` are highlighted strangely, you've probably created the Tree programatically without calling
startup(). You need to call ``startup()`` on it after it's been attached to the DOM.

- Due to the event delegation performance improvements, if you have a custom template for TreeNode,
remove the ``data-dojo-attach-event="..."`` attribute.
Expand Down

0 comments on commit 3d33ecb

Please sign in to comment.