Skip to content

Commit

Permalink
sending ready:vis event when done (elastic#12796)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar authored and thomasneirynck committed Jul 12, 2017
1 parent fcee78a commit bd89026
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/public/visualize/visualize.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ uiModules
$scope.$listen(timefilter, 'fetch', $scope.fetch);
$scope.$on('renderComplete', () => {
$el.trigger('renderComplete');
// dashboard still depends on this (not on render complete as reporting)
$scope.$root.$broadcast('ready:vis');
});

$scope.$on('$destroy', () => {
Expand Down

0 comments on commit bd89026

Please sign in to comment.