From 8d96cf35bb20be7d911265a354dad14a6491794b Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 3 Feb 2012 22:10:58 -0500 Subject: [PATCH] Fix global assignment --- chrome/content/zotero/zoteroPane.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {