www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit ff692392c96e162a49da55100cca86a77a7048fd
parent df58d390aac845f82e25a2de10d2effad52147ae
Author: Simon Kornblith <simon@simonster.com>
Date:   Sun,  5 Feb 2012 18:01:24 -0500

Merge branch '3.0' of github.com:zotero/zotero into 3.0

Diffstat:
Mchrome/content/zotero/overlay.xul | 2+-
Mchrome/content/zotero/xpcom/data/tag.js | 10+++++++++-
Mchrome/content/zotero/zoteroPane.js | 4++--
3 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/chrome/content/zotero/overlay.xul b/chrome/content/zotero/overlay.xul @@ -77,7 +77,7 @@ <image src="chrome://zotero/skin/treeitem-book.png" id="zotero-status-image" onclick="if(event.button === 0) Zotero_Browser.scrapeThisPage()" context="zotero-status-image-context" position="1" hidden="true"/> - <zoteroguidancepanel id="zotero-status-image-guidance" about="saveIcon" for="zotero-status-image"/> + <zoteroguidancepanel id="zotero-status-image-guidance" about="saveIcon" for="zotero-status-image" x="8"/> </hbox> <menupopup id="menu_ToolsPopup"> diff --git 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 @@ -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) {