diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-11-08 17:48:29 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-11-08 17:48:29 +0100 |
commit | 58aad1096f2370adeb76f6ef580ba809be13ea29 (patch) | |
tree | cb6040c16e0e542ac64e228cbe257d7e8b1a4184 /apps | |
parent | edcf1912b93aa22b49bcf727285b8d84998537bc (diff) | |
download | nextcloud-server-58aad1096f2370adeb76f6ef580ba809be13ea29.tar.gz nextcloud-server-58aad1096f2370adeb76f6ef580ba809be13ea29.zip |
LDAP Wizard: keep Base DN always visible
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/js/settings.js | 5 | ||||
-rw-r--r-- | apps/user_ldap/templates/part.wizard-server.php | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/apps/user_ldap/js/settings.js b/apps/user_ldap/js/settings.js index 3abec1e232e..721674ee8e4 100644 --- a/apps/user_ldap/js/settings.js +++ b/apps/user_ldap/js/settings.js @@ -197,13 +197,11 @@ var LdapWizard = { LdapWizard.applyChanges(result); LdapWizard.hideSpinner('#ldap_base'); if($('#ldap_base').val()) { - $('#ldap_base').removeClass('invisible'); LdapWizard.hideInfoBox(); } }, function (result) { LdapWizard.hideSpinner('#ldap_base'); - $('#ldap_base').removeClass('invisible'); LdapWizard.showInfoBox('Please specify a port'); } ); @@ -464,9 +462,6 @@ var LdapWizard = { if($('#ldap_port').val()) { $('#ldap_port').removeClass('invisible'); } - if($('#ldap_base').val()) { - $('#ldap_base').removeClass('invisible'); - } LdapWizard.basicStatusCheck(); }, diff --git a/apps/user_ldap/templates/part.wizard-server.php b/apps/user_ldap/templates/part.wizard-server.php index 01dd8d0fcb2..82ee9b2b23a 100644 --- a/apps/user_ldap/templates/part.wizard-server.php +++ b/apps/user_ldap/templates/part.wizard-server.php @@ -56,7 +56,7 @@ <div class="tablerow"> <textarea id="ldap_base" name="ldap_base" - class="tablecell invisible lwautosave" + class="tablecell lwautosave" placeholder="<?php p($l->t('One Base DN per line'));?>" title="<?php p($l->t('You can specify Base DN for users and groups in the Advanced tab'));?>"> </textarea> |