mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
in edit.js, convert entity property ID to be a text-field so the data can be copied
This commit is contained in:
parent
3d7733219c
commit
12b8a77488
2 changed files with 4 additions and 4 deletions
|
@ -77,7 +77,7 @@
|
|||
</div>
|
||||
<div id="id" class="property value">
|
||||
<label>ID:</label>
|
||||
<span id="property-id" class="selectable"></span>
|
||||
<input type="text" id="property-id" readonly>
|
||||
</div>
|
||||
<div class="section-header hyperlink-group hyperlink-section">
|
||||
<label>Hyperlink</label><span>M</span>
|
||||
|
|
|
@ -740,7 +740,7 @@ function loaded() {
|
|||
}
|
||||
elTypeIcon.style.display = "none";
|
||||
elType.innerHTML = "<i>No selection</i>";
|
||||
elID.innerHTML = "";
|
||||
elID.value = "";
|
||||
disableProperties();
|
||||
} else if (data.selections && data.selections.length > 1) {
|
||||
deleteJSONEditor();
|
||||
|
@ -770,7 +770,7 @@ function loaded() {
|
|||
elTypeIcon.innerHTML = ICON_FOR_TYPE[type];
|
||||
elTypeIcon.style.display = "inline-block";
|
||||
|
||||
elID.innerHTML = ids.join("<br>");
|
||||
elID.value = "";
|
||||
|
||||
disableProperties();
|
||||
} else {
|
||||
|
@ -783,7 +783,7 @@ function loaded() {
|
|||
//the event bridge and json parsing handle our avatar id string differently.
|
||||
|
||||
lastEntityID = '"' + properties.id + '"';
|
||||
elID.innerHTML = properties.id;
|
||||
elID.value = properties.id;
|
||||
|
||||
elType.innerHTML = properties.type;
|
||||
elTypeIcon.innerHTML = ICON_FOR_TYPE[properties.type];
|
||||
|
|
Loading…
Reference in a new issue