summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/js')
-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