* VRFS-3141 - tell user why they can't close JamTrack
This commit is contained in:
parent
3697ca9743
commit
32f0967b2a
|
|
@ -2958,11 +2958,13 @@
|
|||
|
||||
if (sessionModel.recordingModel.isRecording()) {
|
||||
logger.debug("can't close jamtrack while recording")
|
||||
app.notify({title: 'Can Not Close JamTrack', text: 'A JamTrack can not be closed while recording.'})
|
||||
return false;
|
||||
}
|
||||
|
||||
if(!sessionModel.selfOpenedJamTracks()) {
|
||||
logger.debug("can't close jamtrack if not the opener")
|
||||
app.notify({title: 'Can Not Close JamTrack', text: 'Only the person who opened the JamTrack can close it.'})
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue