mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
🎨 更新删除操作确认提示
This commit is contained in:
parent
08a0f835ab
commit
f76608bf90
16 changed files with 17 additions and 12 deletions
|
|
@ -108,7 +108,7 @@ export class Inbox extends Model {
|
|||
this.update();
|
||||
break;
|
||||
case "delete":
|
||||
confirmDialog(window.siyuan.languages.delete, window.siyuan.languages.confirmDelete + "?", () => {
|
||||
confirmDialog(window.siyuan.languages.deleteOpConfirm, window.siyuan.languages.confirmDelete + "?", () => {
|
||||
this.remove(detailsElement.getAttribute("data-id"));
|
||||
});
|
||||
break;
|
||||
|
|
@ -209,7 +209,7 @@ ${(Lute.New()).MarkdownStr("", data.shorthandContent)}
|
|||
label: window.siyuan.languages.remove,
|
||||
icon: "iconTrashcan",
|
||||
click: () => {
|
||||
confirmDialog(window.siyuan.languages.delete, window.siyuan.languages.confirmDelete + "?", () => {
|
||||
confirmDialog(window.siyuan.languages.deleteOpConfirm, window.siyuan.languages.confirmDelete + "?", () => {
|
||||
this.remove();
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue