From f0147cae86451a9a15bc19c5699b5a02cda34b22 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 2 Dec 2011 19:30:50 -0500 Subject: [PATCH 1/4] Fix broken notes when the first note viewed in a session is read-only --- chrome/content/zotero/bindings/noteeditor.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/bindings/noteeditor.xml b/chrome/content/zotero/bindings/noteeditor.xml index f06d99ade..a0d8e64eb 100644 --- a/chrome/content/zotero/bindings/noteeditor.xml +++ b/chrome/content/zotero/bindings/noteeditor.xml @@ -216,9 +216,13 @@ Date: Fri, 2 Dec 2011 19:31:28 -0500 Subject: [PATCH 2/4] Adjust some note editor ids for clarity when debugging --- chrome/content/zotero/bindings/attachmentbox.xml | 4 ++-- chrome/content/zotero/bindings/noteeditor.xml | 2 +- chrome/content/zotero/bindings/styled-textbox.xml | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/chrome/content/zotero/bindings/attachmentbox.xml b/chrome/content/zotero/bindings/attachmentbox.xml index bff649662..a2cedddc7 100644 --- a/chrome/content/zotero/bindings/attachmentbox.xml +++ b/chrome/content/zotero/bindings/attachmentbox.xml @@ -297,7 +297,7 @@ } // Note editor - var noteEditor = this._id('note-editor'); + var noteEditor = this._id('attachment-note-editor'); if (this.displayNote) { if (this.displayNoteIfEmpty || this.item.getNote() != '') { Zotero.debug("setting links on top"); @@ -542,7 +542,7 @@ - +