* VRFS-2716 - reference to .path in SessionOpenBackingTrack changed to .name

This commit is contained in:
Seth Call 2015-01-31 15:28:53 -06:00
parent ac1271634d
commit cb63439219
1 changed files with 2 additions and 2 deletions

View File

@ -73,9 +73,9 @@
var backingTrack = $(this).data('server-model');
// tell the server we are about to open a backing track:
rest.openBackingTrack({id: context.JK.CurrentSessionModel.id(), backing_track_path: backingTrack.path})
rest.openBackingTrack({id: context.JK.CurrentSessionModel.id(), backing_track_path: backingTrack.name})
.done(function(response) {
var result = context.jamClient.SessionOpenBackingTrackFile(backingTrack.path);
var result = context.jamClient.SessionOpenBackingTrackFile(backingTrack.name);
console.log("BackingTrackPlay response: %o", result);
// TODO: Possibly actually check the result. Investigate