* fix webcam_viewer init problem
This commit is contained in:
parent
512e89074b
commit
3130ab31a2
|
|
@ -59,6 +59,7 @@
|
|||
//= require web/signin_helper
|
||||
//= require web/signin
|
||||
//= require web/tracking
|
||||
//= require webcam_viewer
|
||||
//= require react-components
|
||||
//= require_directory .
|
||||
//= require_directory ./dialog
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
});
|
||||
}
|
||||
else if (localResult.aggregate_state == 'PARTIALLY_MISSING') {
|
||||
logger.error("unable to open recording due to some missing tracks: %o", localResults);
|
||||
logger.error("unable to open recording due to some missing tracks: %o", recording, localResults);
|
||||
app.notify({
|
||||
title: "Unable to Open Recording for Playback",
|
||||
text: "Some of your tracks associated with the recording are missing. This is a bug in the application.",
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ NotificationActions = @NotificationActions
|
|||
this.listenTo(context.RecordingStore, this.onRecordingChanged)
|
||||
|
||||
if gon.global.video_available && gon.global.video_available!="none"
|
||||
@webcamViewer = new context.JK.WebcamViewer()
|
||||
@webcamViewer.init()
|
||||
@webcamViewer.setVideoOff()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue