Cleanup
This commit is contained in:
parent
9ebda04428
commit
8a22cf569f
2 changed files with 4 additions and 30 deletions
|
|
@ -100,7 +100,7 @@ export class N2PageNodeUI extends CustomHTMLElement {
|
|||
} else
|
||||
this.elNodeContent.focus({ preventScroll: true })
|
||||
}// }}}
|
||||
async renameNode() {
|
||||
async renameNode() {// {{{
|
||||
const name = prompt('Change title', this.node.data.Name)
|
||||
if (name === null)
|
||||
return
|
||||
|
|
@ -123,7 +123,7 @@ export class N2PageNodeUI extends CustomHTMLElement {
|
|||
console.error(err)
|
||||
alert(err)
|
||||
}
|
||||
}
|
||||
}// }}}
|
||||
async saveNode() {// {{{
|
||||
if (!this.node.isModified())
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue