mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	server side WIP - saving encrypted note now works, changing terminology of "encrypted note" to "protected note"
This commit is contained in:
		| @@ -25,7 +25,7 @@ const noteTree = (function() { | ||||
|  | ||||
|             note.title = note.note_title; | ||||
|  | ||||
|             if (note.encryption > 0) { | ||||
|             if (note.is_protected) { | ||||
|                 note.extraClasses = "encrypted"; | ||||
|             } | ||||
|             else { | ||||
| @@ -63,7 +63,7 @@ const noteTree = (function() { | ||||
|                 noteEditor.createNote(node, parentKey, 'after', encryption); | ||||
|             }, | ||||
|             "ctrl+insert": node => { | ||||
|                 noteEditor.createNote(node, node.key, 'into', node.data.encryption); | ||||
|                 noteEditor.createNote(node, node.key, 'into', node.data.is_protected); | ||||
|             }, | ||||
|             "del": node => { | ||||
|                 treeChanges.deleteNode(node); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user