Auto synch outlook
This commit is contained in:
+2
-1
@@ -1100,13 +1100,14 @@ function openCardModal(cardId = null) {
|
||||
if (hasSched) {
|
||||
document.getElementById('cardStartDate').value = foundCard.start_date || '';
|
||||
document.getElementById('cardEndDate').value = foundCard.end_date || '';
|
||||
document.getElementById('cardSyncOutlook').checked = !!foundCard.outlook_event_id;
|
||||
document.getElementById('cardSyncOutlook').checked = foundCard.outlook_event_id ? true : true; // Standaard gesynchroniseerd
|
||||
}
|
||||
}
|
||||
} else {
|
||||
titleEl.innerText = 'Nieuwe Taak Toevoegen';
|
||||
deleteBtn.classList.add('hidden');
|
||||
document.getElementById('cardScheduleToggle').checked = false;
|
||||
document.getElementById('cardSyncOutlook').checked = true;
|
||||
toggleScheduleFields(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user