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 Jul 12, 2017
1 parent 4349a53 commit dee4f7d
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 @@ -130,6 +130,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 dee4f7d

Please sign in to comment.