Fixed issue where panels would register twice. This breaks nice adding of new panels, working on it now

This commit is contained in:
Rashid Khan
2013-02-14 08:37:03 -07:00
parent a76ceba30f
commit d8f2d412cd
11 changed files with 16 additions and 9 deletions
+4
View File
@@ -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);