www

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

commit 8359db142672ad2f643a298b6b3db2cc26357044
parent 9c9b8b835d5a81b3c94f466d3cc47a602522d817
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri, 10 Oct 2014 17:35:07 -0400

Better debugging for saving from download overlay

Diffstat:
Mchrome/content/zotero/downloadOverlay.js | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/downloadOverlay.js b/chrome/content/zotero/downloadOverlay.js @@ -67,7 +67,14 @@ var Zotero_DownloadOverlay = new function() { libraryID = win.ZoteroPane.getSelectedLibraryID(); collection = win.ZoteroPane.getSelectedCollection(); } - } catch(e) {}; + // TODO: Just show an error instead? + else { + Zotero.debug("Cannot save files to library -- saving to personal library instead"); + } + } catch(e) { + Zotero.debug(e, 1); + }; + Zotero.debug("Library ID is " + libraryID); var recognizePDF = document.getElementById('zotero-recognizePDF').checked && !document.getElementById('zotero-recognizePDF').hidden