mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
🎨 更新删除操作确认提示
This commit is contained in:
parent
08a0f835ab
commit
f76608bf90
16 changed files with 17 additions and 12 deletions
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue