V1.0
This commit is contained in:
@@ -65,7 +65,8 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
|
||||
const formData = {
|
||||
saturday_percentage: document.getElementById('saturdayPercentage').value,
|
||||
sunday_percentage: document.getElementById('sundayPercentage').value
|
||||
sunday_percentage: document.getElementById('sundayPercentage').value,
|
||||
checkin_root_url: document.getElementById('checkinRootUrl') ? document.getElementById('checkinRootUrl').value : null
|
||||
};
|
||||
|
||||
try {
|
||||
@@ -213,6 +214,9 @@ async function loadOptions() {
|
||||
if (document.getElementById('sundayPercentage')) {
|
||||
document.getElementById('sundayPercentage').value = config.sunday_percentage || 0;
|
||||
}
|
||||
if (document.getElementById('checkinRootUrl')) {
|
||||
document.getElementById('checkinRootUrl').value = config.checkin_root_url || '';
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Fehler beim Laden der Optionen:', error);
|
||||
@@ -244,7 +248,7 @@ async function loadLDAPConfig() {
|
||||
document.getElementById('ldapSearchFilter').value = config.user_search_filter || '(objectClass=person)';
|
||||
}
|
||||
if (document.getElementById('ldapUsernameAttr')) {
|
||||
document.getElementById('ldapUsernameAttr').value = config.username_attribute || 'cn';
|
||||
document.getElementById('ldapUsernameAttr').value = config.username_attribute || 'sAMAccountName';
|
||||
}
|
||||
if (document.getElementById('ldapFirstnameAttr')) {
|
||||
document.getElementById('ldapFirstnameAttr').value = config.firstname_attribute || 'givenName';
|
||||
|
||||
Reference in New Issue
Block a user