Clean up panel editors, fix render on panel height change

This commit is contained in:
Rashid Khan
2013-04-06 23:42:34 -07:00
parent 7373e37490
commit 300cb58fa4
10 changed files with 41 additions and 43 deletions
+3 -3
View File
@@ -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) {