Merge pull request #19828 from owncloud/ie9-placeholder-sickness
[IE9] Prevent LDAP password field to become plain text
This commit is contained in:
commit
97d4093891
|
@ -137,6 +137,10 @@ OCA = OCA || {};
|
||||||
this.setElementValue(
|
this.setElementValue(
|
||||||
this.managedItems.ldap_agent_password.$element, agentPwd
|
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
|
* updates the base DN text area
|
||||||
|
|
Loading…
Reference in New Issue