aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/static/intereditor.js
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-14 01:36:31 -0400
committerhistoria <[not public]>2026-07-14 01:36:31 -0400
commitd72957499f1e25741b8f7a91746fbe132fa68161 (patch)
tree115302045c5bce0b62b812bbfcbe3737c9163bb5 /internal/admin/static/intereditor.js
parent5a6986a8c539364b7a166abdfb608b3cc00ecb3b (diff)
downloadthehouseoficarus-d72957499f1e25741b8f7a91746fbe132fa68161.tar.gz
feat(admin): copy paste rooms on map, swap rooms with adjacent rooms
Diffstat (limited to 'internal/admin/static/intereditor.js')
-rw-r--r--internal/admin/static/intereditor.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/admin/static/intereditor.js b/internal/admin/static/intereditor.js
index da1812d..2023874 100644
--- a/internal/admin/static/intereditor.js
+++ b/internal/admin/static/intereditor.js
@@ -707,6 +707,9 @@ function ie_renderAct(stepObj, secId, idx, si, secPath) {
rows += '<input class="ie-act-input" data-ie-act-key="' + escAttr(at.key) + '"' + (at.kind === 'number' ? ' type="number"' : '') + ' data-ie-act-kind="' + escAttr(at.kind) + '" value="' + escAttr(String(val)) + '" placeholder="' + escAttr(at.hint || '') + '" style="flex:1">';
rows += '<button class="btn btn-sm btn-danger ie-act-rm" onclick="ie_removeActEffect(this,\'' + escAttr(secId) + '\',\'' + escAttr(secPath) + '\',' + idx + ',' + si + ',\'' + escAttr(at.key) + '\')">X</button>';
rows += '</div>';
+ if (at.kind === 'text') {
+ rows += ced_renderTagHelp('trigger');
+ }
}
});
@@ -739,6 +742,7 @@ function ie_renderMessages(step, secId, idx, si, secPath) {
});
h += '</div>';
h += '<button class="btn btn-sm ie-add-btn" style="margin-top:2px" onclick="ie_addMessage(this,\'' + escAttr(secId) + '\',\'' + escAttr(secPath) + '\',' + idx + ',' + si + ')">+ Add Message</button>';
+ h += ced_renderTagHelp('trigger');
h += '</div>';
return h;
}