diff options
author | Marc Hefter <marchefter@march42.net> | 2022-05-12 07:46:22 +0200 |
---|---|---|
committer | Marc Hefter <marchefter@gmail.com> | 2023-04-06 08:20:20 +0200 |
commit | 7fa3c674de904b140575112f471c5753aa03a89c (patch) | |
tree | d4e6289d93d15069bb78b74ae814c3af5a9094c9 /apps/user_ldap/js | |
parent | 404d26aa4a950e246f11ce421c48faef764fce31 (diff) | |
download | nextcloud-server-7fa3c674de904b140575112f471c5753aa03a89c.tar.gz nextcloud-server-7fa3c674de904b140575112f471c5753aa03a89c.zip |
feature addition: [user_ldap] update user profile from LDAP; WIP; fixing some uggly copy-and-paste errors; testing functionality; preparing and editing the documentation
Signed-off-by: Marc Hefter <marchefter@march42.net>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
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 26bcd15810e..d2c3b6d125d 100644 --- a/apps/user_ldap/js/wizard/wizardTabAdvanced.js +++ b/apps/user_ldap/js/wizard/wizardTabAdvanced.js @@ -139,6 +139,10 @@ OCA = OCA || {}; $element: $('#ldap_attr_address'), setMethod: 'setAddressAttribute' }, + ldap_attr_twitter: { + $element: $('#ldap_attr_twitter'), + setMethod: 'setTwitterAttribute' + }, ldap_attr_organisation: { $element: $('#ldap_attr_organisation'), setMethod: 'setOrganisationAttribute' @@ -424,6 +428,15 @@ OCA = OCA || {}; }, /** + * sets the attribute for the Nextcloud user profile twitter + * + * @param {string} attribute + */ + setTwitterAttribute: function(attribute) { + this.setElementValue(this.managedItems.ldap_attr_twitter.$element, attribute); + }, + + /** * sets the attribute for the Nextcloud user profile organisation * * @param {string} attribute |