Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).on('hidden.bs.modal', '#comment_modal', function(e, data, status, xhr) {
- $.ajax({
- type: "post",
- url: "comments/reload_comment_form"
- dataType: "html",
- success: function(e, data, response, xhr) {
- console.log('hidden sukces');
- $('#comment_form').html(e);
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement