IDEMPIERE-147 GoogleMap to show Locators / Route button just works if logged in with an organization
This commit is contained in:
parent
78ed339b63
commit
485a66164a
|
@ -301,7 +301,7 @@ public class WLocationDialog extends Window implements EventListener<Event>
|
|||
if (MLocation.LOCATION_MAPS_URL_PREFIX == null)
|
||||
toLink.setVisible(false);
|
||||
pnlLinks.appendChild(toRoute);
|
||||
if (MLocation.LOCATION_MAPS_ROUTE_PREFIX == null)
|
||||
if (MLocation.LOCATION_MAPS_ROUTE_PREFIX == null || Env.getAD_Org_ID(Env.getCtx()) <= 0)
|
||||
toRoute.setVisible(false);
|
||||
pnlLinks.setWidth("100%");
|
||||
pnlLinks.setStyle("text-align:left");
|
||||
|
|
Loading…
Reference in New Issue