summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/js/wizard
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-02-13 12:42:41 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-02-14 15:22:22 +0100
commit685c13e091e25b6df0b93285446e61bdc4d7315b (patch)
treed2288135436e911a0dd5c131d4d48c598ca9f8f3 /apps/user_ldap/js/wizard
parentf8a133d39e50c47dcda5685857baf465dea30104 (diff)
downloadnextcloud-server-685c13e091e25b6df0b93285446e61bdc4d7315b.tar.gz
nextcloud-server-685c13e091e25b6df0b93285446e61bdc4d7315b.zip
add GUI option to set the $home placeholder
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/js/wizard')
-rw-r--r--apps/user_ldap/js/wizard/wizardTabAdvanced.js15
1 files changed, 14 insertions, 1 deletions
diff --git a/apps/user_ldap/js/wizard/wizardTabAdvanced.js b/apps/user_ldap/js/wizard/wizardTabAdvanced.js
index 9302104b1f6..1545147f64c 100644
--- a/apps/user_ldap/js/wizard/wizardTabAdvanced.js
+++ b/apps/user_ldap/js/wizard/wizardTabAdvanced.js
@@ -120,7 +120,11 @@ OCA = OCA || {};
home_folder_naming_rule: {
$element: $('#home_folder_naming_rule'),
setMethod: 'setHomeFolderAttribute'
- }
+ },
+ ldap_ext_storage_home_attribute: {
+ $element: $('#ldap_ext_storage_home_attribute'),
+ setMethod: 'setExternalStorageHomeAttribute'
+ },
};
this.setManagedItems(items);
},
@@ -327,6 +331,15 @@ OCA = OCA || {};
},
/**
+ * sets the external storage home attribute
+ *
+ * @param {string} attribute
+ */
+ setExternalStorageHomeAttribute: function(attribute) {
+ this.setElementValue(this.managedItems.ldap_ext_storage_home_attribute.$element, attribute);
+ },
+
+ /**
* sets the quota attribute
*
* @param {string} attribute