aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/static/editor.js
diff options
context:
space:
mode:
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();