During a successful checkin, play the success sound if an
unexpected copy status is noted in the success message -- it
may have been set via a copy alert.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
return $q.when(final_resp);
default:
- egCore.audio.play('error.checkin.unknown');
- console.error('Unhandled checkin copy status: '
+ egCore.audio.play('success.checkin');
+ console.debug('Unusual checkin copy status (may have been set via copy alert): '
+ copy.status().id() + ' : ' + copy.status().name());
return $q.when(final_resp);
}