aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/js/wizard/wizardTabAdvanced.js
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2023-07-03 10:19:32 +0200
committerGitHub <noreply@github.com>2023-07-03 10:19:32 +0200
commitb2f01b72fe402ca3ee8d0059ff266d1893d53d21 (patch)
tree43bb0803dad9431ce4a68fd223f8d1727d3bb462 /apps/user_ldap/js/wizard/wizardTabAdvanced.js
parent5d9d37e2c5d928288220d17160e9b6e29f064eb8 (diff)
parent189ccc2d722bdfb16a96432f709d18438c80c29e (diff)
downloadnextcloud-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.js13
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