Action Icons disappear when the node that has children is clicked.
Closed this issue · 6 comments
temuri416 commented
Looks like there's a bug in your wonderful plugin:
Set-up:
instance.add_action(nodeId, {
id: 'action_add',
class: 'actionLink fa fa-plus text-muted smaller-90',
text: '',
after: true,
selector: 'a',
event: 'click',
callback: function(node_id, node, action_id, action_el) {
// whatever
}
});
Initial state:
State after "Extended even-keeled utilisation" is expanded:
Thanks!
temuri416 commented
However, toggling parent "Object-based dynamic projection" node correctly renders "+" sign.
alexandernst commented
I will fix this ASAP, problem is my machine burned yesterday so I'm waiting for the new MB to arrive.
temuri416 commented
Thanks a lot!
I have two feature requests, if I may.. Opening tickets :-)
alexandernst commented
@temuri416 I can't reproduce your bug. Can you try to reproduce it in plunkr?
temuri416 commented
I've pulled the latest jsTree version and will check ASAP.
alexandernst commented
Closing because of inactivity. Please reopen if you can get a repro demo in plunkr