diff --git a/app/assets/javascripts/angular/directives/timelines/timeline_directive.js b/app/assets/javascripts/angular/directives/timelines/timeline_directive.js index f53c541fba..6c1696b4f2 100644 --- a/app/assets/javascripts/angular/directives/timelines/timeline_directive.js +++ b/app/assets/javascripts/angular/directives/timelines/timeline_directive.js @@ -77,8 +77,6 @@ timelinesApp.directive('timeline', function() { }; drawTree = function(tree) { - console.log('-------- Draw tree --------'); - timeline = scope.timeline; try { @@ -100,10 +98,7 @@ timelinesApp.directive('timeline', function() { scope.timeline.registerTimelineContainer(element); TimelineLoaderService.loadTimelineData(scope.timeline) .then(buildTree) - .then(drawTree) - .then(function(){ - scope.dataLoaded = true; - }); + .then(drawTree); } }; }); diff --git a/public/templates/timelines/tree.html b/public/templates/timelines/tree.html index 73d182d3fd..057f32445d 100644 --- a/public/templates/timelines/tree.html +++ b/public/templates/timelines/tree.html @@ -1,4 +1,4 @@ -