summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-12-03 20:50:46 +0100
committerArthur Schiwon <blizzz@owncloud.com>2013-12-04 18:59:30 +0100
commit3480766a78e61d58fea4fd01336558d5562e0576 (patch)
treea93e638b4b8c39b65371e582721d28f71c63ef81
parent60b1191c889baeaa408e6e923da4f630bbecb3ff (diff)
downloadnextcloud-server-3480766a78e61d58fea4fd01336558d5562e0576.tar.gz
nextcloud-server-3480766a78e61d58fea4fd01336558d5562e0576.zip
LDAP Wizard: don't generate filter when not allowed
-rw-r--r--apps/user_ldap/js/settings.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/user_ldap/js/settings.js b/apps/user_ldap/js/settings.js
index b87590d9754..acf88ef58a4 100644
--- a/apps/user_ldap/js/settings.js
+++ b/apps/user_ldap/js/settings.js
@@ -573,7 +573,9 @@ var LdapWizard = {
},
postInitLoginFilter: function() {
- LdapWizard.composeFilter('login');
+ if($('#rawLoginFilterContainer').hasClass('invisible')) {
+ LdapWizard.composeFilter('login');
+ }
},
/** end of init user filter tab section **/