diff options
Diffstat (limited to 'internal/admin/static/intereditor.js')
| -rw-r--r-- | internal/admin/static/intereditor.js | 4 |
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; } |
