- /** Open up a new browser page showing OSM's view of the current entity. */
- public function openEntityPage():void {
- if (selectedEntity != null && selectedEntity.id >= 0) {
- // This is slightly hard-coded, but not drastically. The ../s could be changed for string manipulation of the apiBase
- var urlBase:String = connection.apiBase + '../../browse/'
- navigateToURL(new URLRequest(urlBase+selectedEntity.getType()+'/'+selectedEntity.id), "potlatch_browse");
- }
- }
-