IDEMPIERE-5934 : Read only Chosen Multiple Selection List fields can be updated using Assistant (#2115)
* IDEMPIERE-5934 : Read only Chosen Multiple Selection List fields can be updated using Assistant * IDEMPIERE-5934 : Read only Chosen Multiple Selection List fields can be updated using Assistant #2
This commit is contained in:
parent
bd41a5d8e8
commit
ce48a8835e
|
@ -286,6 +286,7 @@ public class WChosenboxListEditor extends WEditor implements ContextMenuListener
|
|||
addChangeLogMenu(popupMenu);
|
||||
popupMenu.removeNewUpdateMenu();
|
||||
|
||||
if(gridField.getDisplayType() == DisplayType.ChosenMultipleSelectionList && gridField.isEditable(true)) {
|
||||
Menuitem editor = new Menuitem();
|
||||
editor.setAttribute("EVENT", WEditorPopupMenu.ASSISTANT_EVENT);
|
||||
editor.setLabel(Msg.getMsg(Env.getCtx(), "Assistant"));
|
||||
|
@ -295,6 +296,7 @@ public class WChosenboxListEditor extends WEditor implements ContextMenuListener
|
|||
editor.setImage(ThemeManager.getThemeResource("images/Wizard16.png"));
|
||||
editor.addEventListener(Events.ON_CLICK, popupMenu);
|
||||
popupMenu.appendChild(editor);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue