diff options
Diffstat (limited to 'internal/admin/static/editor.js')
| -rw-r--r-- | internal/admin/static/editor.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/admin/static/editor.js b/internal/admin/static/editor.js index 1bd6872..d5fb5c7 100644 --- a/internal/admin/static/editor.js +++ b/internal/admin/static/editor.js @@ -140,7 +140,7 @@ function renderEditor(id, data) { html += '<div class="btn-row">'; html += '<button class="btn btn-primary" onclick="saveItem(\'' + esc(id) + '\')">Save</button>'; - html += '<button class="btn btn-danger" onclick="deleteItem(\'' + esc(id) + '\')">Delete</button>'; + html += '<button class="btn btn-danger" onclick="deleteItem(\'' + esc(id) + '\')">Remove</button>'; html += '</div>'; $('#editorMain').innerHTML = html; @@ -359,7 +359,7 @@ function showItemContextMenu(e, id) { addBtn('Rename', '', function() { startInlineItemRename(id); }); addBtn('Duplicate', '', function() { duplicateFromMenu(id); }); - addBtn('Delete', 'danger', function() { deleteItem(id); }); + addBtn('Remove', 'danger', function() { deleteItem(id); }); document.body.appendChild(overlay); document.body.appendChild(menu); |
