www

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

commit 4adc606c48070aa03a5864a6e69f5fb853b5c1a9
parent b6af89309d81507d2f609a2283b2d56557a6fe2a
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed,  3 Feb 2010 05:50:43 +0000

Add warning to citation/bibliography editor


Diffstat:
Mchrome/content/zotero/integration/addCitationDialog.js | 2++
Mchrome/content/zotero/integration/addCitationDialog.xul | 2++
Mchrome/content/zotero/integration/editBibliographyDialog.xul | 2++
3 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/chrome/content/zotero/integration/addCitationDialog.js b/chrome/content/zotero/integration/addCitationDialog.js @@ -339,7 +339,9 @@ var Zotero_Citation_Dialog = new function () { * Shows the edit pane */ function toggleEditor(text) { + var warning = document.getElementById('zotero-editor-warning'); var editor = document.getElementById('editor'); + warning.hidden = _previewShown; editor.hidden = _previewShown; _previewShown = !_previewShown; diff --git a/chrome/content/zotero/integration/addCitationDialog.xul b/chrome/content/zotero/integration/addCitationDialog.xul @@ -199,5 +199,7 @@ </vbox> <textbox id="editor" type="styled" mode="integration" hidden="true" flex="1"/> + <!-- TODO: localize --> + <description id="zotero-editor-warning" style="margin: 9px 1px 0" hidden="true">Warning: If you edit a citation in the editor it will no longer update to reflect changes in your database or the citation style.</description> </vbox> </dialog> diff --git a/chrome/content/zotero/integration/editBibliographyDialog.xul b/chrome/content/zotero/integration/editBibliographyDialog.xul @@ -115,5 +115,7 @@ </vbox> <textbox id="editor" type="styled" mode="integration" flex="1"/> + <!-- TODO: localize --> + <description id="zotero-editor-warning" style="margin: 9px 1px 0">Warning: If you edit a citation in the editor it will no longer update to reflect changes in your database or the citation style.</description> </vbox> </dialog>