Add connection details to IP address modal

This commit is contained in:
JonnyWong16 2022-01-25 16:06:52 -08:00
commit e7a4cb9233
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
4 changed files with 38 additions and 8 deletions

View file

@ -701,7 +701,10 @@
$('#currentActivity').on('click', '.external_ip-modal', function () {
$.get('get_ip_address_details', {
ip_address: $(this).data('ip')
ip_address: $(this).data('ip'),
location: $(this).data('location'),
secure: $(this).data('secure'),
relayed: $(this).data('relayed')
}).then(function (jqXHR) {
$("#ip-info-modal").html(jqXHR);
});