diff --git a/js/controllers.js b/js/controllers.js index 701c1293632..445aa9b8e54 100644 --- a/js/controllers.js +++ b/js/controllers.js @@ -109,9 +109,9 @@ angular.module('kibana.controllers', []) } } - $scope.close_modal = function() { - // Dummy function, available for overriding in child scopes. For example - // a panel might want to broadcast an event when a modal is closed + // This can be overridden by individual panel + $scope.close_edit = function() { + $scope.$broadcast('render') } $scope.add_panel = function(row,panel) { diff --git a/panels/histogram/editor.html b/panels/histogram/editor.html index 76fdca5733d..f960df0abfd 100644 --- a/panels/histogram/editor.html +++ b/panels/histogram/editor.html @@ -32,19 +32,25 @@ -