ezraroi / ngJsTree

Angular Directive for the famous JS Tree
http://ezraroi.github.io/ngJsTree/
MIT License
270 stars 101 forks source link

Tree is stuck in loading, when page is reloaded or visited again and crashes the browser #110

Closed adymimos closed 7 years ago

adymimos commented 7 years ago

Should I destroy the treeinstance on leaving the page? Tree is getting formed only once.

My Config $scope.treeConfig = { multiple: false, animation: true, core : { error : function(error) { }, check_callback : true, worker : true, types : { default : { icon : 'fa fa-folder' }, subsystem : { icon : 'fa fa-wpforms' }, cloud : { icon : 'glyphicon glyphicon-cloud' }, version : 1 }, plugins : ['types'] } };

adymimos commented 7 years ago

Issue is resolved by putting worker as false