mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Remove Test Code that end up not using
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
$(document).on('click', '.edit-contact-btn', function(e) {
|
||||
e.preventDefault();
|
||||
var contactId = $(this).data('contact-id');
|
||||
$('#editContactContent').html('Loading...'); // optional loading text
|
||||
$.get('ajax_edit_contact.php', { contact_id: contactId }, function(response) {
|
||||
$('#editContactContent').html(response);
|
||||
$('#editContactModal').modal('show');
|
||||
}).fail(function() {
|
||||
alert('Error loading contact details.');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user