Recurring tickets bugfixes

This commit is contained in:
Marcus Hill
2024-03-17 11:57:58 +00:00
parent f9a5ca1ef8
commit dfce95a67b
3 changed files with 49 additions and 44 deletions

View File

@@ -3,14 +3,13 @@
const clientSelectDropdown = document.getElementById("changeClientSelect"); // Define client selector
// If the client selector is disabled, we must be on client_recurring_tickets.php instead. Trigger the contact list update.
// // If the client selector is disabled, we must be on client_recurring_tickets.php instead. Trigger the contact list update.
if (clientSelectDropdown.disabled) {
let client_id = $(clientSelectDropdown).find(':selected').val();
// Update the contacts dropdown list
populateContactsDropdown(client_id);
}
// Listener for client selection. Populate contact select when a client is selected