alexandernst/jstree-actions

Action Icons disappear when the node that has children is clicked.

Closed this issue · 6 comments

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:

image

State after "Extended even-keeled utilisation" is expanded:

image

Thanks!

However, toggling parent "Object-based dynamic projection" node correctly renders "+" sign.

I will fix this ASAP, problem is my machine burned yesterday so I'm waiting for the new MB to arrive.

Thanks a lot!

I have two feature requests, if I may.. Opening tickets :-)

@temuri416 I can't reproduce your bug. Can you try to reproduce it in plunkr?

I've pulled the latest jsTree version and will check ASAP.

Closing because of inactivity. Please reopen if you can get a repro demo in plunkr