From d35aa505d2a103a41a45d3a8f42be7f2f2b5a28b Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 10 Jul 2026 19:30:26 -0400 Subject: fix(admin): fix remove buttons on onenter/onexit --- internal/admin/static/intereditor.js | 2 ++ internal/admin/static/map.js | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'internal/admin') diff --git a/internal/admin/static/intereditor.js b/internal/admin/static/intereditor.js index b6047b5..06159fa 100644 --- a/internal/admin/static/intereditor.js +++ b/internal/admin/static/intereditor.js @@ -569,10 +569,12 @@ function _ie_renderGroupNode(mode, children, not, secId, secPath, idx, gpath, ki if (children.length === 0) { h += '
'; h += '
'; + h += '
'; IE_COND_TYPES.forEach(function(ct) { h += ''; }); h += ''; + h += '
'; h += ''; h += '
'; h += '
'; diff --git a/internal/admin/static/map.js b/internal/admin/static/map.js index bd884b7..6d56097 100644 --- a/internal/admin/static/map.js +++ b/internal/admin/static/map.js @@ -3434,5 +3434,7 @@ function _mapRemoveTrigger(secPath, idx) { if (currentRoomData && currentRoomData.room) { currentRoomData.room[secPath] = window._editorData[secPath]; } - window._ieRenderCurrent(); + switchPanelTab(8); + _triggersDirty = true; + autoSave(); } -- cgit v1.2.3