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

6 lines
227 B
Plaintext
Raw Normal View History

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