diff --git a/panels/stringquery/editor.html b/panels/stringquery/editor.html index 847e50112a5..6a505dfb340 100644 --- a/panels/stringquery/editor.html +++ b/panels/stringquery/editor.html @@ -1,6 +1,6 @@
- +
diff --git a/panels/stringquery/module.html b/panels/stringquery/module.html index c2953aaec97..d6d88242d38 100644 --- a/panels/stringquery/module.html +++ b/panels/stringquery/module.html @@ -1,26 +1,24 @@ -
-
-
- - - - - +
+ + + + + + + +
+
+
+ + + + +
+

+
-
-
-
- - - - -
-

-
-
-
\ No newline at end of file diff --git a/panels/stringquery/module.js b/panels/stringquery/module.js index 2a19a97e546..76de35ffe0f 100644 --- a/panels/stringquery/module.js +++ b/panels/stringquery/module.js @@ -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();