mirror of
https://github.com/overte-org/overte.git
synced 2025-04-07 04:32:32 +02:00
Fix the link on the place name to use the right hifiurl
On the place list, the link to a place uses the placename for a local place or the address for a federated or external place the link on the name was still using directly the address while the other parts (cell background and description) were using the variable.
This commit is contained in:
parent
72137f52f7
commit
6669dc9d86
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@
|
|||
formatedList = formatedList + "<table class='placeTable'>";
|
||||
formatedList = formatedList + " <tr valign = 'top'>";
|
||||
formatedList = formatedList + " <td width='2%'></td>";
|
||||
formatedList = formatedList + " <td align='left' width='75%' onclick='teleport(" + '"' + placeRecords[i].id + '"' + ", " + '"' + placeUrl + '"' + "); return false;'><a class= 'placeTitle' href='javascript:void(0)' onclick='teleport(" + '"' + placeRecords[i].id + '"' + ", " + '"' + placeRecords[i].address + '"' + "); return false;'>" + placeRecords[i].name + "</a></td>";
|
||||
formatedList = formatedList + " <td align='left' width='75%' onclick='teleport(" + '"' + placeRecords[i].id + '"' + ", " + '"' + placeUrl + '"' + "); return false;'><a class= 'placeTitle' href='javascript:void(0)' onclick='teleport(" + '"' + placeRecords[i].id + '"' + ", " + '"' + placeUrl + '"' + "); return false;'>" + placeRecords[i].name + "</a></td>";
|
||||
if (placeRecords[i].category !== "Z") {
|
||||
formatedList = formatedList + " <td align='right' ><span style='padding: 0%; cursor: pointer;' onclick='openDetail(" + '"' + placeRecords[i].id + '"' + ")'><img src='icons/info.png' width='26' height='26' draggable='false'></span></td>";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue