Tag debugging that actually works
This commit is contained in:
parent
2ae1b75d62
commit
c987130323
1 changed files with 11 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue