diff --git a/chrome/content/zotero/overlay.xul b/chrome/content/zotero/overlay.xul index f408ebb92..acb241d24 100644 --- a/chrome/content/zotero/overlay.xul +++ b/chrome/content/zotero/overlay.xul @@ -77,7 +77,7 @@ - + diff --git a/chrome/content/zotero/xpcom/data/tag.js b/chrome/content/zotero/xpcom/data/tag.js index 05bb9d34e..508b65770 100644 --- a/chrome/content/zotero/xpcom/data/tag.js +++ b/chrome/content/zotero/xpcom/data/tag.js @@ -353,7 +353,15 @@ Zotero.Tag.prototype.save = function (full) { var sql = "UPDATE tags SET " + columns.join("=?, ") + "=?" + " WHERE tagID=?"; - Zotero.DB.query(sql, sqlValues); + try { + Zotero.DB.query(sql, sqlValues); + } + // TEMP + catch (e) { + var sql = "SELECT * FROM tags"; + Zotero.debug(Zotero.DB.query(sql)); + throw (e); + } } diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index c101e9c90..a41c6b57b 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -3169,10 +3169,10 @@ var ZoteroPane = new function() if (item.libraryID) { var group = Zotero.Groups.getByLibraryID(item.libraryID); - filesEditable = group.filesEditable; + var filesEditable = group.filesEditable; } else { - filesEditable = true; + var filesEditable = true; } if (saveSnapshot) {