Commit 59ccc6c9 by Rashid Khan

Index should always be broadcast as an array

parent f1bc8eeb
...@@ -185,7 +185,7 @@ angular.module('kibana.timepicker', []) ...@@ -185,7 +185,7 @@ angular.module('kibana.timepicker', [])
eventBus.broadcast($scope.$id,$scope.panel.group,'time',$scope.time) eventBus.broadcast($scope.$id,$scope.panel.group,'time',$scope.time)
}); });
} else { } else {
$scope.time.index = $scope.panel.index; $scope.time.index = [$scope.panel.index];
eventBus.broadcast($scope.$id,$scope.panel.group,'time',$scope.time) eventBus.broadcast($scope.$id,$scope.panel.group,'time',$scope.time)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment