summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-10-17 18:55:02 +0200
committerArthur Schiwon <blizzz@owncloud.com>2013-10-17 19:13:29 +0200
commit0b90cc0b4b529e8d4a4e6fb173d2c56678071362 (patch)
treea70bcba4cd19bb78134dfc1fa73a34c4eebb5d3c /apps/user_ldap
parent6b160d8507806f38eaeed2daea2f30621fb000b4 (diff)
downloadnextcloud-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.js2
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]);
}
},