jQuery(document).ready(function($){

	$(document).on('click', '.delete-message-report', function(event) {
		event.preventDefault();
		var $this = $(this), 
			ide   = $(this).attr('ide');
		$.ajax({
			url 	: function_Admin.url,
			method 	: 'POST',
			dataType: 'json',
			data 	: {
				action: 'action_delete_message',
				ide   : ide,
			}, 
			beforeSend: function(){
				
			},
			success: function( data ) {
				$this.parent().parent().remove();
			},
			error: function(){
				console.log('error');
			}
		});
	});
})