ngJsTree icon indicating copy to clipboard operation
ngJsTree copied to clipboard

maybe have a bug in the getOptions method

Open HalleyLi opened this issue 8 years ago • 1 comments

because in the method you first use JSON.stringify(config) and the last you return result; resulting in that when I modify the treeData; the result is constant ; so the $scope.$watch(getOptions()) method is not correct;I can't normally destroy() and init() the tree;

HalleyLi avatar Aug 16 '16 09:08 HalleyLi

Please write a plunker that reproduce this, i have used it for 2 years with no problems

ezraroi avatar Aug 16 '16 18:08 ezraroi