www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit bb3c2ff55db79292fd0c59e74e53248e7d850aba
parent e981f0351410400fec6d6b6c31b12522c0ae0639
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 11 Aug 2009 05:16:27 +0000

Fix Related/Tags in standalone note window


Diffstat:
Mchrome/content/zotero/bindings/noteeditor.xml | 9+++++++++
Mchrome/content/zotero/bindings/relatedbox.xml | 4+++-
2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/bindings/noteeditor.xml b/chrome/content/zotero/bindings/noteeditor.xml @@ -89,6 +89,7 @@ this._mode = val; document.getAnonymousNodes(this)[0].setAttribute('mode', val); + this._id('links').mode = val; ]]> </setter> </property> @@ -396,6 +397,14 @@ ]]> </setter> </property> + <property name="mode"> + <setter> + <![CDATA[ + this.id('seeAlso').mode = val; + this.id('tags').mode = val; + ]]> + </setter> + </property> <method name="tagsClick"> <body> <![CDATA[ diff --git a/chrome/content/zotero/bindings/relatedbox.xml b/chrome/content/zotero/bindings/relatedbox.xml @@ -149,7 +149,9 @@ var row = document.createElement("row"); row.appendChild(box); - row.appendChild(remove); + if (this.editable) { + row.appendChild(remove); + } row.setAttribute('id', 'seealso-' + related[i].id); rows.appendChild(row); }