diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-12-03 20:50:46 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-12-04 18:59:30 +0100 |
commit | 3480766a78e61d58fea4fd01336558d5562e0576 (patch) | |
tree | a93e638b4b8c39b65371e582721d28f71c63ef81 | |
parent | 60b1191c889baeaa408e6e923da4f630bbecb3ff (diff) | |
download | nextcloud-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.js | 4 |
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 **/ |