diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-10-17 18:55:02 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-10-17 19:13:29 +0200 |
commit | 0b90cc0b4b529e8d4a4e6fb173d2c56678071362 (patch) | |
tree | a70bcba4cd19bb78134dfc1fa73a34c4eebb5d3c /apps/user_ldap | |
parent | 6b160d8507806f38eaeed2daea2f30621fb000b4 (diff) | |
download | nextcloud-server-0b90cc0b4b529e8d4a4e6fb173d2c56678071362.tar.gz nextcloud-server-0b90cc0b4b529e8d4a4e6fb173d2c56678071362.zip |
Ldap Wizard: also disable tabs, if the first step is not complete
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/js/settings.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/user_ldap/js/settings.js b/apps/user_ldap/js/settings.js index 7ce1014a85d..efd9bade1ab 100644 --- a/apps/user_ldap/js/settings.js +++ b/apps/user_ldap/js/settings.js @@ -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]); } }, |