From e330b2a2ddc0a5505206917fc0b88251f91f3278 Mon Sep 17 00:00:00 2001 From: Thomas Neirynck Date: Wed, 12 Jul 2017 12:21:36 -0400 Subject: [PATCH] Revert "Remove dashboard refresh handler. (#12798)" This reverts commit 5b411426a8fbb279a12ff91b0cf7ad88c73e3b67. --- src/ui/public/visualize/visualize.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/public/visualize/visualize.js b/src/ui/public/visualize/visualize.js index 1055ec7801e68..1b421753c0301 100644 --- a/src/ui/public/visualize/visualize.js +++ b/src/ui/public/visualize/visualize.js @@ -89,6 +89,8 @@ uiModules }; $scope.vis.on('reload', reload); $scope.$on('courier:searchRefresh', reload); + // dashboard will trigger this event when refreshing + $scope.$on('fetch', reload); if ($scope.appState) { let oldUiState;