summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/js
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-10-08 01:19:37 +0200
committerArthur Schiwon <blizzz@owncloud.com>2013-10-17 19:13:27 +0200
commit162bfb231aa31d7aa8c22543edff8aa9ceade3bd (patch)
treeae0a2e06360d0de8441fe5ca09a228ead3ed1cc4 /apps/user_ldap/js
parente87b091536a9663f071755df4ec25576d3b4327e (diff)
downloadnextcloud-server-162bfb231aa31d7aa8c22543edff8aa9ceade3bd.tar.gz
nextcloud-server-162bfb231aa31d7aa8c22543edff8aa9ceade3bd.zip
Ldap Wizard: find out whether server supports memberOf in LDAP Filter and disable group chooser if not
Diffstat (limited to 'apps/user_ldap/js')
-rw-r--r--apps/user_ldap/js/settings.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/js/settings.js b/apps/user_ldap/js/settings.js
index 8949f5002ca..837b79e329c 100644
--- a/apps/user_ldap/js/settings.js
+++ b/apps/user_ldap/js/settings.js
@@ -216,9 +216,10 @@ var LdapWizard = {
}
LdapWizard.applyChanges(result);
$('#ldap_userfilter_groups').multiselect('refresh');
+ $('#ldap_userfilter_groups').multiselect('enable');
},
function (result) {
- //TODO: error handling
+ $('#ldap_userfilter_groups').multiselect('disable');
}
);
},