commit fa4df719e19593604107e9ce53ff4430870a0a89 parent 94f004002b8c3ebd697d4383b6e8e86f84181157 Author: Dan Stillman <dstillman@zotero.org> Date: Fri, 2 Jan 2009 17:32:23 +0000 Fix error exporting items with child notes with tags Diffstat:
| M | chrome/content/zotero/xpcom/data/item.js | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js @@ -3395,7 +3395,10 @@ Zotero.Item.prototype.toArray = function (mode) { var tags = this.getTags(); if (tags) { for (var i=0; i<tags.length; i++) { - arr.tags.push(tags[i].serialize()); + var tag = tags[i].serialize(); + tag.tag = tag.fields.name; + tag.type = tag.fields.type; + arr.tags.push(tag); } }