From c95e42240f8266df95a75c59ef8c0d0e72522af3 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 19 Jan 2017 11:58:43 -0500 Subject: [PATCH] Fix #1157, Note content lost when typing during sync Someday, I will say this is fixed and it actually will be fixed. --- chrome/content/zotero/bindings/noteeditor.xml | 7 ++++++- chrome/content/zotero/bindings/styled-textbox.xml | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/bindings/noteeditor.xml b/chrome/content/zotero/bindings/noteeditor.xml index 049fe119e..e40906b50 100644 --- a/chrome/content/zotero/bindings/noteeditor.xml +++ b/chrome/content/zotero/bindings/noteeditor.xml @@ -171,6 +171,10 @@ //Zotero.debug("Skipping notification from current note field"); continue; } + if (this.noteField.changed) { + //Zotero.debug("Note has changed since last save -- skipping refresh"); + return; + } this.refresh(); break; } @@ -181,7 +185,7 @@ - +