From c98713032380e01d8e6a4e3434173555f374e849 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 6 Feb 2012 02:30:08 -0500 Subject: [PATCH] Tag debugging that actually works --- chrome/content/zotero/xpcom/data/tag.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/data/tag.js b/chrome/content/zotero/xpcom/data/tag.js index 508b65770..cf56eb375 100644 --- a/chrome/content/zotero/xpcom/data/tag.js +++ b/chrome/content/zotero/xpcom/data/tag.js @@ -359,7 +359,17 @@ Zotero.Tag.prototype.save = function (full) { // TEMP catch (e) { var sql = "SELECT * FROM tags"; - Zotero.debug(Zotero.DB.query(sql)); + var tags = Zotero.DB.query(sql); + for each(var tag in tags) { + Zotero.debug('------'); + Zotero.debug(tag.tagID); + Zotero.debug(tag.libraryID); + Zotero.debug(tag.name); + Zotero.debug(tag.type); + Zotero.debug(tag.dateAdded); + Zotero.debug(tag.dateModified); + Zotero.debug(tag.clientDateModified); + } throw (e); } }