mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	reloading notes after script changes
This commit is contained in:
		| @@ -92,7 +92,7 @@ function AttributesModel() { | ||||
|     } | ||||
|  | ||||
|     this.loadAttributes = async function() { | ||||
|         const noteId = noteDetailService.getActiveNoteId(); | ||||
|         const noteId = noteDetailService.getActiveTabNoteId(); | ||||
|  | ||||
|         const attributes = await server.get('notes/' + noteId + '/attributes'); | ||||
|  | ||||
| @@ -138,7 +138,7 @@ function AttributesModel() { | ||||
|  | ||||
|         self.updateAttributePositions(); | ||||
|  | ||||
|         const noteId = noteDetailService.getActiveNoteId(); | ||||
|         const noteId = noteDetailService.getActiveTabNoteId(); | ||||
|  | ||||
|         const attributesToSave = self.ownedAttributes() | ||||
|             .map(attribute => attribute()) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user