From: Arthur Schiwon Date: Thu, 17 Oct 2013 16:55:02 +0000 (+0200) Subject: Ldap Wizard: also disable tabs, if the first step is not complete X-Git-Tag: v6.0.0beta2~46^2~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0b90cc0b4b529e8d4a4e6fb173d2c56678071362;p=nextcloud-server.git Ldap Wizard: also disable tabs, if the first step is not complete --- 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]); } },