fix some recordings not being youtube compatible

This commit is contained in:
Josh
2017-06-15 14:50:39 -04:00
parent 23127f1119
commit 14bb88ad77
2 changed files with 4 additions and 3 deletions

View File

@ -314,7 +314,7 @@ class @Recordings
cloud = selectedUpload.find('.cloud-blue')
check = selectedUpload.find('.green-check')
spinner = selectedUpload.find('.load-spinner')
showAlert(I18n.successful_upload, 4000);
spinner.hide()
@ -359,7 +359,8 @@ class @Recordings
# Determine if the recording can be uploaded to Youtube.
$.ajax({
method: 'POST',
data: {'rec_id': id}
data: {'rec_id': id},
async: false,
url: recordingsObject.getRecordingsURL() + '/can_upload'
}).success((res_data) ->
canUpload = res_data['uploadable']