diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2016-02-03 13:16:55 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2016-02-03 13:55:39 +0100 |
commit | c1871f5787cd48eb1e116f7f62bc4d4a50a0a04b (patch) | |
tree | aaae91d24fb00638429b1122396a0f3dbb0d129a /apps/user_ldap/js/wizard | |
parent | 621f54da514af548bf900f7a1c64af046f53b86d (diff) | |
download | nextcloud-server-c1871f5787cd48eb1e116f7f62bc4d4a50a0a04b.tar.gz nextcloud-server-c1871f5787cd48eb1e116f7f62bc4d4a50a0a04b.zip |
Port of test_ldap_2nddispname to master
Diffstat (limited to 'apps/user_ldap/js/wizard')
-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 7367bfe87ae..d85dde0ccdf 100644 --- a/apps/user_ldap/js/wizard/wizardTabAdvanced.js +++ b/apps/user_ldap/js/wizard/wizardTabAdvanced.js @@ -55,6 +55,10 @@ OCA = OCA || {}; $element: $('#ldap_display_name'), setMethod: 'setUserDisplayName' }, + ldap_user_display_name_2: { + $element: $('#ldap_user_display_name_2'), + setMethod: 'setUserDisplayName2' + }, ldap_base_users: { $element: $('#ldap_base_users'), setMethod: 'setBaseDNUsers' @@ -191,6 +195,15 @@ OCA = OCA || {}; }, /** + * sets the additional user display name attribute + * + * @param {string} attribute + */ + setUserDisplayName2: function(attribute) { + this.setElementValue(this.managedItems.ldap_user_display_name_2.$element, attribute); + }, + + /** * sets the Base DN for users * * @param {string} base |