From 0c3ea37beedbdc1a4acff141a31417540be2fa01 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 26 Sep 2007 11:05:23 +0000 Subject: [PATCH] closes #776, make revised Word plug-in operate under OpenOffice again closes #703, automate Word/OOo plug-in build process - fixes a bug in OpenOffice when an item is removed from the Zotero Database - fixes a bug in citing items with no title - fixes an error in the APA style --- chrome/content/zotero/xpcom/cite.js | 2 +- scrapers.sql | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chrome/content/zotero/xpcom/cite.js b/chrome/content/zotero/xpcom/cite.js index 759314013..1b163670d 100644 --- a/chrome/content/zotero/xpcom/cite.js +++ b/chrome/content/zotero/xpcom/cite.js @@ -1921,7 +1921,7 @@ Zotero.CSL.ItemSet.prototype.resort = function() { if(nameType[lastName] === undefined) { // determine how to format name var theNames = allNames[lastName]; - if(theNames.length > 1) { + if(theNames && theNames.length > 1) { nameType[lastName] = Zotero.CSL.NAME_USE_INITIAL; // check initials to see if any match var initials = new Object(); diff --git a/scrapers.sql b/scrapers.sql index 263db45a3..df7b4b5f7 100644 --- a/scrapers.sql +++ b/scrapers.sql @@ -16393,7 +16393,7 @@ function doExport() { } }'); -REPLACE INTO csl VALUES('http://purl.org/net/xbiblio/csl/styles/apa.csl', '2007-09-13 20:50:16', 'American Psychological Association', +REPLACE INTO csl VALUES('http://purl.org/net/xbiblio/csl/styles/apa.csl', '2007-09-26 10:58:54', 'American Psychological Association', '