You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
will produce an empty div <div class="dd-empty"/> remaining regardless of how many nodes I've add. This empty div was initiated but should be removed when new nodes are added and the tree is no longer empty.
I have added a line in 251 to check if the the tree contains an empty div and remove it if it exists:
Using
$('.dd').nestable('add', jsonObj)
on an empty initial container likewill produce an empty div
<div class="dd-empty"/>
remaining regardless of how many nodes I've add. This empty div was initiated but should be removed when new nodes are added and the tree is no longer empty.I have added a line in 251 to check if the the tree contains an empty div and remove it if it exists:
Let me know if this is a good fix or is there any better way.
The text was updated successfully, but these errors were encountered: