mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
cleanup
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
let tags = {
|
||||
const tags = {
|
||||
1: "<b>",
|
||||
2: "</b>",
|
||||
3: "<i>",
|
||||
@@ -85,19 +85,6 @@ $(document).ready(function() {
|
||||
|
||||
var globalNote;
|
||||
|
||||
function setParent(noteId, newParentKey, successCallback) {
|
||||
let newNoteName = "new note";
|
||||
|
||||
$.ajax({
|
||||
url: baseUrl + 'notes/' + nodeId + '/setParent/' + newParentKey,
|
||||
type: 'PUT',
|
||||
contentType: "application/json",
|
||||
success: function(result) {
|
||||
successCallback();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function createNewTopLevelNote() {
|
||||
let rootNode = $("#tree").fancytree("getRootNode");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user