Skip to content

Commit

Permalink
Fixes #167
Browse files Browse the repository at this point in the history
Layout of media response changed, updated fields on csv link so they were properly provided
  • Loading branch information
atruskie committed Feb 20, 2015
1 parent 3fd30e4 commit d9e0202
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/listen/listen.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ angular.module('bawApp.listen', ['decipher.tags', 'ui.bootstrap.typeahead'])
$scope.endOffsetAbsolute = absoluteEndChunk.format("HH:mm:ss");
$scope.downloadAnnotationsLink = AudioEvent.csvLink(
{
recordingId: value.id,
startOffset: value.startOffset,
endOffset: value.endOffset
recordingId: $scope.model.media.recording.id,
startOffset: $scope.model.media.commonParameters.startOffset,
endOffset: $scope.model.media.commonParameters.endOffset
});

},
Expand Down

0 comments on commit d9e0202

Please sign in to comment.