aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/static/editor.js
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-12 19:23:19 -0400
committerhistoria <[not public]>2026-07-12 19:23:19 -0400
commitbeb0b73a9e56fdc717d55bbf1a1c7c5b49d4c6a4 (patch)
treefa5fb802937f631c45c46851328b4839a4b35949 /internal/admin/static/editor.js
parent2bacbb08d1ac67c4f63ee535728cd4e8760e3211 (diff)
downloadthehouseoficarus-beb0b73a9e56fdc717d55bbf1a1c7c5b49d4c6a4.tar.gz
feat: remains drop is optional
Diffstat (limited to 'internal/admin/static/editor.js')
-rw-r--r--internal/admin/static/editor.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/admin/static/editor.js b/internal/admin/static/editor.js
index fe0ef10..593bf7f 100644
--- a/internal/admin/static/editor.js
+++ b/internal/admin/static/editor.js
@@ -178,7 +178,6 @@ function saveItem(id) {
}
function deleteItem(id) {
- if (!confirm('Delete ' + editorType + ' "' + id + '"?')) return;
API.del('/api/' + editorType + '/' + encodeURIComponent(id)).then(function() {
notify(editorType + ' ' + id + ' deleted', 'success');
updateUndoBar();