add notice when matching is completed
This commit is contained in:
@@ -17,6 +17,7 @@ $(document).on "turbolinks:load", ->
|
||||
when "video_status_update" then @showVideoStatusUpdate(data.content)
|
||||
when "download_status_update" then @showDownloadStatusUpdate(data.content)
|
||||
when "conference_recording_ready" then @showDownloadStatusUpdate(data.content)
|
||||
when "appearance_matching_flash_message" then @showMatchingStatusUpdate(data.content)
|
||||
|
||||
showVideoStatusUpdate: (content) ->
|
||||
$("[data-ujs-target='video-analysis-msg']").replaceWith content
|
||||
@@ -24,3 +25,6 @@ $(document).on "turbolinks:load", ->
|
||||
showDownloadStatusUpdate: (content) ->
|
||||
$(".flash-message").html content
|
||||
$(".toast").toast('show')
|
||||
|
||||
showMatchingStatusUpdate: (content) ->
|
||||
$("#flash-message").replaceWith content
|
||||
|
||||
Reference in New Issue
Block a user