Fix note resetting in external note window during file syncing
https://forums.zotero.org/discussion/29008
This commit is contained in:
parent
675fde2f1a
commit
97f662fe67
1 changed files with 1 additions and 2 deletions
|
@ -88,8 +88,7 @@ function onUnload()
|
|||
|
||||
var NotifyCallback = {
|
||||
notify: function(action, type, ids){
|
||||
// DEBUG: why does this reset without checking the modified ids?
|
||||
if (noteEditor.item) {
|
||||
if (noteEditor.item && ids.indexOf(noteEditor.item.id) != -1) {
|
||||
noteEditor.item = noteEditor.item;
|
||||
|
||||
// If the document title hasn't yet been set, reset undo so
|
||||
|
|
Loading…
Reference in a new issue