Added query input binding

This commit is contained in:
Rashid Khan
2013-01-31 08:54:20 -07:00
parent bf75a42b88
commit e54982d42d
8 changed files with 78 additions and 16 deletions
+8
View File
@@ -14,6 +14,14 @@ angular.module('kibana.map', [])
? _d[k] : $scope.panel[k];
});
if (!(_.isUndefined($scope.panel.group))) {
$scope.$on($scope.panel.group+"-query", function(event, query) {
$scope.panel.query = query;
$scope.get_data();
});
}
$scope.get_data = function() {
var request = $scope.ejs.Request().indices($scope.index);