Confirmedusers, editor, Administrators
886
edits
CreativeMD (talk | contribs) No edit summary |
CreativeMD (talk | contribs) No edit summary |
||
Line 68: | Line 68: | ||
item.el.addClass("tt-parent"); | item.el.addClass("tt-parent"); | ||
item.showChildren = true; | item.showChildren = true; | ||
if(item.parent != undefined) | |||
{ | |||
item.children.forEach(function (child) { | |||
$(child.el).closest("tr").addClass(item.parent.el.attr("data-tt-id")); | |||
} | |||
} | |||
} | } | ||