add some more dbug to see original of crose

This commit is contained in:
Seth Call 2019-01-19 19:59:41 -06:00
parent 8a9eb794b7
commit b6d2e6e150
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,6 @@ ActiveAdmin.register_page "Fake Purchaser" do
count = 0
JamTrack.all.each do |jam_track|
unless jam_track.right_for_user(user)
jam_track_right=JamTrackRight.new
jam_track_right.user = user
jam_track_right.jam_track = jam_track

View File

@ -19,7 +19,7 @@ ChannelGroupIds = context.JK.ChannelGroupIds
if jamTrackState.fullTrackActivated || jamTrackState.opened && jamTrackState.jamTrack.activeMixdown == null
@loadJamTrack(jamTrackState.jamTrack)
else if jamTrackState.closed
logger.debug("SessionMediaTracks: jamtrack has been closed")
logger.debug("SessionMediaTracks: jamtrack has been closed", jamTrackState)
if @state.downloadJamTrack?
logger.debug("closing DownloadJamTrack widget")
@ -42,6 +42,7 @@ ChannelGroupIds = context.JK.ChannelGroupIds
closeAudio: (e) ->
e.preventDefault()
logger.debug("SessionMediaTracks.closeAudio")
SessionActions.closeMedia(false)
cancelDownloadJamTrack: (e) ->

View File

@ -235,7 +235,7 @@ ConfigureTracksActions = @ConfigureTracksActions
# codeInitiated means the user did not initiate this
onCloseMedia: (codeInitiated) ->
logger.debug("SessionStore: onCloseMedia")
logger.debug("SessionStore: onCloseMedia", codeInitiated)
if @helper.recordedTracks()
@closeRecording()
else if @helper.jamTracks() || @downloadingJamTrack