Initial commit
This commit is contained in:
10
app/views/video_analyses/graphics_elements/create.js.erb
Normal file
10
app/views/video_analyses/graphics_elements/create.js.erb
Normal file
@@ -0,0 +1,10 @@
|
||||
<% if @graphics_element_data.is_valid %>
|
||||
$("#graphics_elements_list").html("<%= j render("video_analyses/graphics_elements", graphics_elements: @graphics_elements_data.graphics_elements) %>");
|
||||
|
||||
<% if @graphics_element_data.should_toggle_checkmark %>
|
||||
$('.graphics-match').has('td:contains("<%= @graphics_element_data.source_file_name %>")').has('td:contains("<%= @graphics_element_data.timecode_in %>")').attr("data-confirmed", true).data("confirmed", true)
|
||||
<% end %>
|
||||
|
||||
$("#new_graphics_element_modal").modal("toggle");
|
||||
<% else %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user