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

This commit is contained in:
Dan Stillman 2009-08-11 01:14:07 +00:00
parent dec3ed743c
commit f1bda1af10

View file

@ -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