diff options
Diffstat (limited to 'apps/user_ldap/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 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 |