From a476d4697ce64db7927e6eb6af99af6a074c1505 Mon Sep 17 00:00:00 2001 From: Rolf Schmidt Date: Tue, 2 Jun 2020 14:09:39 +0200 Subject: [PATCH] Fixes #1326 - Can't add attributes manually to LDAP sync. --- .../javascripts/app/controllers/_integration/ldap.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/controllers/_integration/ldap.coffee b/app/assets/javascripts/app/controllers/_integration/ldap.coffee index 59e4f8505..2ca2d69de 100644 --- a/app/assets/javascripts/app/controllers/_integration/ldap.coffee +++ b/app/assets/javascripts/app/controllers/_integration/ldap.coffee @@ -461,13 +461,12 @@ class ConnectionWizard extends App.WizardModal el = [] for source, dest of user_attribute_map - continue if !(source of @wizardConfig.wizardData.backend_user_attributes) el.push @buildRowUserAttribute(source, dest) el buildRowUserAttribute: (source, dest) => el = $(App.view('integration/ldap_user_attribute_row')()) - el.find('.js-ldapAttribute').html(@createSelection('source', @wizardConfig.wizardData.backend_user_attributes, source)) + el.find('.js-ldapAttribute').html(@createSelection('source', @wizardConfig.wizardData.backend_user_attributes, source, true)) el.find('.js-userAttribute').html(@createSelection('dest', @wizardConfig.wizardData.user_attributes, dest)) el