Index should always be broadcast as an array

This commit is contained in:
Rashid Khan 2013-02-27 15:48:26 -07:00
parent f1bc8eebf5
commit 59ccc6c93b

View File

@ -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)
}