diff --git a/js/controllers.js b/js/controllers.js index dbbca95d5d8..0cc87f4319d 100644 --- a/js/controllers.js +++ b/js/controllers.js @@ -96,6 +96,10 @@ angular.module('kibana.controllers', []) } } + $scope.send_render = function() { + $scope.$broadcast('render'); + } + $scope.add_panel = function(row,panel) { console.log(panel) $scope.row.panels.push(panel); diff --git a/js/services.js b/js/services.js index c3730ec0b1e..6fce70abd08 100644 --- a/js/services.js +++ b/js/services.js @@ -21,6 +21,7 @@ angular.module('kibana.services', []) // addressed to the scope in question and runs the registered function if it // is. this.register = function(scope,type,fn) { + console.log('registered:' + type + " for " + scope.panel.title + " " + scope.$id) scope.$on(type,function(event,packet){ var _id = scope.$id; var _to = packet.to; diff --git a/panels/histogram/editor.html b/panels/histogram/editor.html index 543260ce9e6..eddb63a6947 100644 --- a/panels/histogram/editor.html +++ b/panels/histogram/editor.html @@ -1,4 +1,4 @@ -