clarion/app/views/management/events/show.js.erb

6 lines
227 B
Plaintext

$('body').append('<%= j render 'suggestion_details' %>');
$('#suggestion-<%= @suggestion.id %>-details').on('hidden.bs.modal', function () {
$(this).remove();
});
$('#suggestion-<%= @suggestion.id %>-details').modal('show');