mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +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>
|
||||||
<div id="id" class="property value">
|
<div id="id" class="property value">
|
||||||
<label>ID:</label>
|
<label>ID:</label>
|
||||||
<span id="property-id" class="selectable"></span>
|
<input type="text" id="property-id" readonly>
|
||||||
</div>
|
</div>
|
||||||
<div class="section-header hyperlink-group hyperlink-section">
|
<div class="section-header hyperlink-group hyperlink-section">
|
||||||
<label>Hyperlink</label><span>M</span>
|
<label>Hyperlink</label><span>M</span>
|
||||||
|
|
|
@ -740,7 +740,7 @@ function loaded() {
|
||||||
}
|
}
|
||||||
elTypeIcon.style.display = "none";
|
elTypeIcon.style.display = "none";
|
||||||
elType.innerHTML = "<i>No selection</i>";
|
elType.innerHTML = "<i>No selection</i>";
|
||||||
elID.innerHTML = "";
|
elID.value = "";
|
||||||
disableProperties();
|
disableProperties();
|
||||||
} else if (data.selections && data.selections.length > 1) {
|
} else if (data.selections && data.selections.length > 1) {
|
||||||
deleteJSONEditor();
|
deleteJSONEditor();
|
||||||
|
@ -770,7 +770,7 @@ function loaded() {
|
||||||
elTypeIcon.innerHTML = ICON_FOR_TYPE[type];
|
elTypeIcon.innerHTML = ICON_FOR_TYPE[type];
|
||||||
elTypeIcon.style.display = "inline-block";
|
elTypeIcon.style.display = "inline-block";
|
||||||
|
|
||||||
elID.innerHTML = ids.join("<br>");
|
elID.value = "";
|
||||||
|
|
||||||
disableProperties();
|
disableProperties();
|
||||||
} else {
|
} else {
|
||||||
|
@ -783,7 +783,7 @@ function loaded() {
|
||||||
//the event bridge and json parsing handle our avatar id string differently.
|
//the event bridge and json parsing handle our avatar id string differently.
|
||||||
|
|
||||||
lastEntityID = '"' + properties.id + '"';
|
lastEntityID = '"' + properties.id + '"';
|
||||||
elID.innerHTML = properties.id;
|
elID.value = properties.id;
|
||||||
|
|
||||||
elType.innerHTML = properties.type;
|
elType.innerHTML = properties.type;
|
||||||
elTypeIcon.innerHTML = ICON_FOR_TYPE[properties.type];
|
elTypeIcon.innerHTML = ICON_FOR_TYPE[properties.type];
|
||||||
|
|
Loading…
Reference in a new issue