Tag debugging that actually works

This commit is contained in:
Dan Stillman 2012-02-06 02:30:08 -05:00
parent 2ae1b75d62
commit c987130323

View file

@ -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);
}
}