2020-08-31 18:19:00 +02:00
|
|
|
<% # Remove the modal if it already exists %>
|
|
|
|
|
$("#edit_broadcast_recording_modal").remove();
|
|
|
|
|
|
|
|
|
|
<% # Create and show the modal %>
|
2020-09-16 05:39:08 +02:00
|
|
|
$("body").append("<%= j render(partial: 'edit_broadcast_recording_modal', locals: { broadcast: @broadcast, recording: @recording }) %>");
|
2020-08-31 18:19:00 +02:00
|
|
|
$("#edit_broadcast_recording_modal").modal("toggle");
|