🎨 更新删除操作确认提示

This commit is contained in:
Liang Ding 2022-10-06 16:01:02 +08:00
parent 08a0f835ab
commit f76608bf90
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
16 changed files with 17 additions and 12 deletions

View file

@ -117,7 +117,7 @@ export class Files extends Model {
event.preventDefault();
break;
} else if (type === "remove") {
confirmDialog(window.siyuan.languages.delete,
confirmDialog(window.siyuan.languages.deleteOpConfirm,
`${window.siyuan.languages.confirmDelete} <b>${escapeHtml(target.parentElement.querySelector(".b3-list-item__text").textContent)}</b>?`, () => {
fetchPost("/api/notebook/removeNotebook", {
notebook: target.getAttribute("data-url"),