www

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

commit b5f3448304a3db9ccb17fce43d67fad740cd0f2b
parent 6da81257f6a9a8af467c04e649a277057f1d95ea
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 15 Dec 2008 05:51:35 +0000

Fixes #1253, Note export generates invalid RDF

In Item.toArray(), use toArray() for descendants as well


Diffstat:
Mchrome/content/zotero/xpcom/data/item.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js @@ -3343,14 +3343,14 @@ Zotero.Item.prototype.toArray = function (mode) { var notes = this.getNotes(); for (var i in notes) { var note = Zotero.Items.get(notes[i]); - arr.notes.push(note.serialize()); + arr.notes.push(note.toArray()); } arr.attachments = []; var attachments = this.getAttachments(); for (var i in attachments) { var attachment = Zotero.Items.get(attachments[i]); - arr.attachments.push(attachment.serialize()); + arr.attachments.push(attachment.toArray()); } }