commit 5484fdb01de6fd54b681cb7eff35220034cce1aa
parent f0147cae86451a9a15bc19c5699b5a02cda34b22
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 2 Dec 2011 19:31:28 -0500
Adjust some note editor ids for clarity when debugging
Diffstat:
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git 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 @@
</rows>
</grid>
- <zoteronoteeditor id="note-editor" notitle="1" flex="1"/>
+ <zoteronoteeditor id="attachment-note-editor" notitle="1" flex="1"/>
<button id="select-button" hidden="true"/>
</vbox>
diff --git a/chrome/content/zotero/bindings/noteeditor.xml b/chrome/content/zotero/bindings/noteeditor.xml
@@ -497,7 +497,7 @@
</method>
</implementation>
<content>
- <xul:vbox id="note-editor" xbl:inherits="flex">
+ <xul:vbox xbl:inherits="flex">
<xul:grid>
<xul:columns>
<xul:column/>
diff --git a/chrome/content/zotero/bindings/styled-textbox.xml b/chrome/content/zotero/bindings/styled-textbox.xml
@@ -103,6 +103,7 @@
this._constructed = true;
+ // Don't load if a value hasn't yet been set
if (this._loadOnConstruct) {
this._load();
}