diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-16 16:44:55 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-16 16:44:55 +0200 |
commit | 97d40938919da05972e8118066ea39d1052644d6 (patch) | |
tree | 135ad779b060d795f46d0a79100b41bda1273652 | |
parent | c47c1df580f5e03781d27dc3bb850f1df1578cd9 (diff) | |
parent | c406efe74fc3f03e1a6771be90a8acdce84b9324 (diff) | |
download | nextcloud-server-97d40938919da05972e8118066ea39d1052644d6.tar.gz nextcloud-server-97d40938919da05972e8118066ea39d1052644d6.zip |
Merge pull request #19828 from owncloud/ie9-placeholder-sickness
[IE9] Prevent LDAP password field to become plain text
-rw-r--r-- | apps/user_ldap/js/wizard/wizardTabElementary.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/user_ldap/js/wizard/wizardTabElementary.js b/apps/user_ldap/js/wizard/wizardTabElementary.js index 7c1a550c097..f5232e91010 100644 --- a/apps/user_ldap/js/wizard/wizardTabElementary.js +++ b/apps/user_ldap/js/wizard/wizardTabElementary.js @@ -137,6 +137,10 @@ OCA = OCA || {}; this.setElementValue( this.managedItems.ldap_agent_password.$element, agentPwd ); + if (agentPwd && $('html').hasClass('lte9')) { + // make it a password field again (IE fix, placeholders bug) + this.managedItems.ldap_agent_password.$element.attr('type', 'password'); + } }, /** * updates the base DN text area |