diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-10-17 20:57:19 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-10-17 20:57:19 +0200 |
commit | 183dd813d34f870c11bea3a97c9a6b34bc46808b (patch) | |
tree | f2193c4bef29cbace68c82630de3a2c3a64d04e1 /apps/user_ldap/js | |
parent | 6acd01d9f287def7cf4f35fbe71c069dd97eff8b (diff) | |
download | nextcloud-server-183dd813d34f870c11bea3a97c9a6b34bc46808b.tar.gz nextcloud-server-183dd813d34f870c11bea3a97c9a6b34bc46808b.zip |
Fix Spinner issues with Base DN field
Diffstat (limited to 'apps/user_ldap/js')
-rw-r--r-- | apps/user_ldap/js/settings.js | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/apps/user_ldap/js/settings.js b/apps/user_ldap/js/settings.js index efd9bade1ab..faef477420f 100644 --- a/apps/user_ldap/js/settings.js +++ b/apps/user_ldap/js/settings.js @@ -157,6 +157,10 @@ var LdapWizard = { } } LdapWizard.functionalityCheck(); + + if($('#ldapSettings').tabs('option', 'active') == 0) { + LdapWizard.basicStatusCheck(); + } }, basicStatusCheck: function() { @@ -451,6 +455,9 @@ var LdapWizard = { if($('#ldap_port').val()) { $('#ldap_port').removeClass('invisible'); } + if($('#ldap_base').val()) { + $('#ldap_base').removeClass('invisible'); + } LdapWizard.basicStatusCheck(); }, @@ -584,8 +591,10 @@ var LdapWizard = { }, showSpinner: function(id) { - $(LdapWizard.spinner).insertAfter($(id)); - $(id + " + img + button").css('display', 'none'); + if($(id + ' + .wizSpinner').length == 0) { + $(LdapWizard.spinner).insertAfter($(id)); + $(id + " + img + button").css('display', 'none'); + } }, toggleRawFilter: function(container, moc, mg, stateVar) { |