commit c98713032380e01d8e6a4e3434173555f374e849 parent 2ae1b75d62eaca9a61787b341cb34990062190ff Author: Dan Stillman <dstillman@zotero.org> Date: Mon, 6 Feb 2012 02:30:08 -0500 Tag debugging that actually works Diffstat:
| M | 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 @@ -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); } }