From 8502b68730109be1db05f7c5e4d822cbd478dce9 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Fri, 13 Dec 2013 18:35:00 -0500 Subject: [PATCH] Broadcast persistent descriptor is for database, not data directory --- chrome/content/zotero/xpcom/ipc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/ipc.js b/chrome/content/zotero/xpcom/ipc.js index 78b08b8822..ff0e0da3d8 100755 --- a/chrome/content/zotero/xpcom/ipc.js +++ b/chrome/content/zotero/xpcom/ipc.js @@ -66,7 +66,7 @@ Zotero.IPC = new function() { // Standalone sends this to the Firefox extension to tell the Firefox extension to // release its lock on the Zotero database if(!Zotero.isConnector && (msg.length === 11 || - msg.substr(12) === Zotero.getZoteroDirectory().persistentDescriptor)) { + msg.substr(12) === Zotero.getZoteroDatabase().persistentDescriptor)) { switchConnectorMode(true); } } else if(msg === "lockReleased") {