From f1bda1af101ec280dc12c6a283a7fa6e397b73a4 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 11 Aug 2009 01:14:07 +0000 Subject: [PATCH] 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 --- chrome/content/zotero/xpcom/uri.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chrome/content/zotero/xpcom/uri.js b/chrome/content/zotero/xpcom/uri.js index d1c842ad2..b6ec0eca1 100644 --- 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