diff options
author | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2023-07-03 10:19:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-03 10:19:32 +0200 |
commit | b2f01b72fe402ca3ee8d0059ff266d1893d53d21 (patch) | |
tree | 43bb0803dad9431ce4a68fd223f8d1727d3bb462 /apps/user_ldap/js/wizard/wizardTabAdvanced.js | |
parent | 5d9d37e2c5d928288220d17160e9b6e29f064eb8 (diff) | |
parent | 189ccc2d722bdfb16a96432f709d18438c80c29e (diff) | |
download | nextcloud-server-b2f01b72fe402ca3ee8d0059ff266d1893d53d21.tar.gz nextcloud-server-b2f01b72fe402ca3ee8d0059ff266d1893d53d21.zip |
Merge pull request #34443 from nextcloud/feat/add-enabled-user-backend
Add IProvideEnabledStateBackend interface
Diffstat (limited to 'apps/user_ldap/js/wizard/wizardTabAdvanced.js')
-rw-r--r-- | apps/user_ldap/js/wizard/wizardTabAdvanced.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/user_ldap/js/wizard/wizardTabAdvanced.js b/apps/user_ldap/js/wizard/wizardTabAdvanced.js index a438b847401..3b251897968 100644 --- a/apps/user_ldap/js/wizard/wizardTabAdvanced.js +++ b/apps/user_ldap/js/wizard/wizardTabAdvanced.js @@ -67,6 +67,10 @@ OCA = OCA || {}; $element: $('#ldap_attributes_for_user_search'), setMethod: 'setSearchAttributesUsers' }, + ldap_mark_remnants_as_disabled: { + $element: $('#ldap_mark_remnants_as_disabled'), + setMethod: 'setMarkRemnantsAsDisabled' + }, ldap_group_display_name: { $element: $('#ldap_group_display_name'), setMethod: 'setGroupDisplayName' @@ -276,6 +280,15 @@ OCA = OCA || {}; }, /** + * enables or disables marking remnants as disabled + * + * @param {string} markRemnantsAsDisabled contains an int + */ + setMarkRemnantsAsDisabled: function(markRemnantsAsDisabled) { + this.setElementValue(this.managedItems.ldap_mark_remnants_as_disabled.$element, markRemnantsAsDisabled); + }, + + /** * sets the display name attribute for groups * * @param {string} attribute |