mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	don't alert in case of updated note in current editor
This commit is contained in:
		@@ -13,14 +13,11 @@ function checkStatus() {
 | 
			
		||||
                loadTree().then(resp => {
 | 
			
		||||
                    console.log("Reloading tree because of background changes");
 | 
			
		||||
 | 
			
		||||
                    // this will also reload the note content
 | 
			
		||||
                    globalTree.fancytree('getTree').reload(resp.notes);
 | 
			
		||||
                });
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (resp.changedCurrentNote) {
 | 
			
		||||
                alert("Current note has been changed in different window / computer. Please reload the application and resolve the conflict manually.");
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            $("#changesToPushCount").html(resp.changesToPushCount);
 | 
			
		||||
        },
 | 
			
		||||
        statusCode: {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user