fixed visual inconsistencies in the stringquery panel when using multiple queries

This commit is contained in:
Rashid Khan
2013-02-22 15:50:22 -07:00
parent ae2a3ee83f
commit c0273d887a
3 changed files with 25 additions and 21 deletions
+6
View File
@@ -35,8 +35,14 @@ angular.module('kibana.stringquery', [])
}
}
$scope.set_multi = function(multi) {
$scope.panel.query = multi ?
new Array($scope.panel.query) : $scope.panel.query[0];
}
$scope.remove_query = function(index) {
$scope.panel.query.splice(index,1);
console.log($scope.panel.query)
}
$scope.init();