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:
parent
dec3ed743c
commit
f1bda1af10
1 changed files with 5 additions and 0 deletions
|
@ -98,6 +98,8 @@ Zotero.URI = new function () {
|
||||||
|
|
||||||
// If this is a local URI, compare to the local user key
|
// If this is a local URI, compare to the local user key
|
||||||
if (itemURI.match(/\/users\/local\//)) {
|
if (itemURI.match(/\/users\/local\//)) {
|
||||||
|
// For now, at least, don't check local id
|
||||||
|
/*
|
||||||
var localUserURI = this.getLocalUserURI();
|
var localUserURI = this.getLocalUserURI();
|
||||||
if (localUserURI) {
|
if (localUserURI) {
|
||||||
localUserURI += "/";
|
localUserURI += "/";
|
||||||
|
@ -107,6 +109,9 @@ Zotero.URI = new function () {
|
||||||
var libraryTypeID = null;
|
var libraryTypeID = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
var libraryType = 'user';
|
||||||
|
var libraryTypeID = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If not found, try global URI
|
// If not found, try global URI
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue