clarion/app/views/management/events/show.js.erb
2014-09-30 13:34:09 +03:00

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');