mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
adding renderComplete event to timelion
This commit is contained in:
parent
b83387325f
commit
ab94eef9d8
2 changed files with 6 additions and 1 deletions
|
@ -230,7 +230,7 @@ module.exports = function timechartFn(Private, config, $rootScope, timefilter, $
|
|||
}
|
||||
|
||||
if ($scope.plot) {
|
||||
$scope.$parent.$parent.vis.emit('renderComplete');
|
||||
$scope.$emit('renderComplete');
|
||||
}
|
||||
|
||||
legendScope.$destroy();
|
||||
|
|
|
@ -59,5 +59,10 @@ define(function (require) {
|
|||
|
||||
$scope.$on('fetch', $scope.search);
|
||||
|
||||
$scope.$on('renderComplete', event => {
|
||||
event.stopPropagation();
|
||||
$scope.vis.emit('renderComplete');
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue