IDEMPIERE-2015 Zoom disabled when access to window is read-only

This commit is contained in:
Carlos Ruiz 2014-06-23 13:41:27 -05:00
parent 7747fdac06
commit 224e163005
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ public class WEditorPopupMenu extends Menupopup implements EventListener<Event>
int winID = lookup.getZoom();
int winIDPO = lookup.getZoom(false) ;
Boolean canAccess = MRole.getDefault().getWindowAccess(winID);
if (winID <= 0 || canAccess == null || ! canAccess) {
if (winID <= 0 || canAccess == null) {
this.zoomEnabled = false;
this.newEnabled = false;
this.updateEnabled = false;