From 953a43064aab6aa72417d07c5f259e6f53e7684d Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 24 Oct 2006 05:57:00 +0000 Subject: [PATCH] Item.getCreators() didn't call _loadCreators(), apparently... --- chrome/content/zotero/xpcom/data_access.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chrome/content/zotero/xpcom/data_access.js b/chrome/content/zotero/xpcom/data_access.js index 48996fdfb..dc1da4bf2 100644 --- a/chrome/content/zotero/xpcom/data_access.js +++ b/chrome/content/zotero/xpcom/data_access.js @@ -255,6 +255,10 @@ Zotero.Item.prototype.getCreator = function(pos){ * Note: Creator data array is returned by reference */ Zotero.Item.prototype.getCreators = function(){ + if (this.getID() && !this._creatorsLoaded){ + this._loadCreators(); + } + var creators = []; for (var i=0; i