From 59ccc6c93b41055c08d18973b6e3ef02c7cc10a4 Mon Sep 17 00:00:00 2001 From: Rashid Khan Date: Wed, 27 Feb 2013 15:48:26 -0700 Subject: [PATCH] Index should always be broadcast as an array --- panels/timepicker/module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/timepicker/module.js b/panels/timepicker/module.js index 7e877976a7a..0437ab274df 100644 --- a/panels/timepicker/module.js +++ b/panels/timepicker/module.js @@ -185,7 +185,7 @@ angular.module('kibana.timepicker', []) eventBus.broadcast($scope.$id,$scope.panel.group,'time',$scope.time) }); } else { - $scope.time.index = $scope.panel.index; + $scope.time.index = [$scope.panel.index]; eventBus.broadcast($scope.$id,$scope.panel.group,'time',$scope.time) }