Hi,
using a checkboxtree element in an addons config panel causes a 'setVisibility can be called only on elements in DOM tree!' exception if the element is within the first div of the panel, e.g.
Code: Select all
<div data-id="pnlCollectionsRoot" class="padding fill flex column">
<div data-id="lvTreeView" class="fill flex column hSeparatorTiny" data-control-class="CheckboxTree" data-init-params="{enableDragDrop: true}"></div>
</div>
The snippet above causes the exception. If there is another div above it, even a blank one, the issue doesn't occur. The snippet below works fine
Code: Select all
<div></div>
<div data-id="pnlCollectionsRoot" class="padding fill flex column">
<div data-id="lvTreeView" class="fill flex column hSeparatorTiny" data-control-class="CheckboxTree" data-init-params="{enableDragDrop: true}"></div>
</div>
To reproduce:
- Install the addon from
https://github.com/mmuffins/addonsmenusample
- Open the list of installed addons
- Click the configure button for 'Addons Menu Sample'
This first started occurring in revision 2281, 2276 is working fine. Also see crash logs C491CB1E and A280AC70.