* make sure upload to youtube popup is only shown for video dialogs

This commit is contained in:
Seth Call 2015-10-15 06:10:21 -05:00
parent 29f3b52120
commit e01634285a
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@
$dialog.data('result', {keep:true});
app.layout.closeDialog('recordingFinished');
context.JK.GA.trackMakeRecording();
if(save_video && upload_to_youtube) {
if(recording.video && save_video && upload_to_youtube) {
// you have to have elected to save video to have upload to youtube have
context.VideoUploaderActions.showUploader(recording_id);
}