www

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

commit 6d9427981e1c7b77f5613420443831dc02fe9497
parent 9facfd5c24a32c33e373b2e0d3077b61255436b8
Author: Simon Kornblith <simon@simonster.com>
Date:   Sat, 31 May 2008 02:51:08 +0000

closes #973, citation editor broken in FF3
(fixes a message asking the user if s/he wants to regenerate a citation when the editor has never been shown and a parameter is changed)


Diffstat:
Mchrome/content/zotero/addCitationDialog.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/addCitationDialog.js b/chrome/content/zotero/addCitationDialog.js @@ -281,7 +281,7 @@ var Zotero_Citation_Dialog = new function () { * Ask whether to modfiy the preview */ function confirmRegenerate(focusShifted) { - if(document.getElementById('editor').value == _originalHTML) { + if(document.getElementById('editor').value == _originalHTML || _originalHTML === undefined) { // no changes; just update without asking _updatePreview(); return;