]> source.dussan.org Git - nextcloud-server.git/commitdiff
Ldap Wizard: also disable tabs, if the first step is not complete
authorArthur Schiwon <blizzz@owncloud.com>
Thu, 17 Oct 2013 16:55:02 +0000 (18:55 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Thu, 17 Oct 2013 17:13:29 +0000 (19:13 +0200)
apps/user_ldap/js/settings.js

index 7ce1014a85d928430fe1f5e09f8c753d4d5e69aa..efd9bade1ab6020dc33cb6e5cac5381a62a6e56d 100644 (file)
@@ -170,8 +170,10 @@ var LdapWizard = {
 
                if(host && port && agent && pwd && base) {
                        $('.ldap_action_continue').removeAttr('disabled');
+                       $('#ldapSettings').tabs('option', 'disabled', []);
                } else {
                        $('.ldap_action_continue').attr('disabled', 'disabled');
+                       $('#ldapSettings').tabs('option', 'disabled', [1, 2, 3, 4, 5]);
                }
        },