Peer review from a suggested patch from Hiep Lq -> IDEMPIERE-3408 Encrypted Field can explore by normal user
This commit is contained in:
parent
10be967c75
commit
18b795150a
|
@ -94,7 +94,7 @@ public class Textbox extends org.zkoss.zul.Textbox implements EventListener<Even
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setValue(String value) throws WrongValueException {
|
public void setValue(String value) throws WrongValueException {
|
||||||
if (m_obscure != null && !m_infocus)
|
if (m_obscure != null && ("password".equals(getType()) || !m_infocus))
|
||||||
{
|
{
|
||||||
super.setValue(m_obscure.getObscuredValue(value));
|
super.setValue(m_obscure.getObscuredValue(value));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue