IDEMPIERE-914 Any user can obtain all passwords via field editor - thanks to Anthony Sossah (xolali)
This commit is contained in:
parent
5a3e609189
commit
68e07a93b5
|
@ -139,9 +139,12 @@ public class WStringEditor extends WEditor implements ContextMenuListener
|
|||
if (getComponent() instanceof Textbox)
|
||||
((Textbox)getComponent()).setObscureType(obscureType);
|
||||
|
||||
popupMenu = new WEditorPopupMenu(false, false, isShowPreference());
|
||||
addTextEditorMenu(popupMenu);
|
||||
addChangeLogMenu(popupMenu);
|
||||
|
||||
if(!(this instanceof WPasswordEditor)){ // check password field
|
||||
popupMenu = new WEditorPopupMenu(false, false, isShowPreference());
|
||||
addTextEditorMenu(popupMenu);
|
||||
addChangeLogMenu(popupMenu);
|
||||
}
|
||||
|
||||
if (gridField.isAutocomplete()) {
|
||||
Combobox combo = (Combobox)getComponent();
|
||||
|
|
Loading…
Reference in New Issue