commit f1bda1af101ec280dc12c6a283a7fa6e397b73a4
parent dec3ed743cd52aa70891694b57e496c33ef335a4
Author: Dan Stillman <dstillman@zotero.org>
Date: Tue, 11 Aug 2009 01:14:07 +0000
For now, at least, don't check local pre-sync user key when looking for an item from a URI -- just look for the item key in the local library
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/uri.js b/chrome/content/zotero/xpcom/uri.js
@@ -98,6 +98,8 @@ Zotero.URI = new function () {
// If this is a local URI, compare to the local user key
if (itemURI.match(/\/users\/local\//)) {
+ // For now, at least, don't check local id
+ /*
var localUserURI = this.getLocalUserURI();
if (localUserURI) {
localUserURI += "/";
@@ -107,6 +109,9 @@ Zotero.URI = new function () {
var libraryTypeID = null;
}
}
+ */
+ var libraryType = 'user';
+ var libraryTypeID = null;
}
// If not found, try global URI