Added fields and hits panels, updated config and default dashboard.

This commit is contained in:
Rashid Khan
2013-02-06 14:14:17 -07:00
parent 70f6a29700
commit 085b688850
18 changed files with 242 additions and 140 deletions
+7 -2
View File
@@ -13,10 +13,15 @@ angular.module('kibana.stringquery', [])
}
_.defaults($scope.panel,_d);
var _groups = _.isArray($scope.panel.group) ?
$scope.panel.group : [$scope.panel.group];
$scope.init = function() {
$scope.send_query = function(query) {
$rootScope.$broadcast($scope.panel.group+"-query", query)
}
_.each(_groups,function(group) {
$rootScope.$broadcast(group+"-query", query)
});
}
}
$scope.init();
});