From 6fa04103c25860a9724f82c85907946c7fa83e76 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sat, 14 Dec 2013 02:07:36 -0500 Subject: [PATCH] Fix a bug where the Zotero pane would not close when opening Standalone If Zotero Standalone was opened before Firefox, closed, and opened again, the user would see a message stating Zotero Standalone was open, but the pane would not have closed. This was purely cosmetic. --- chrome/content/zotero/zoteroPane.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index a51415ed3f..52802cd60d 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -146,11 +146,9 @@ var ZoteroPane = new function() * mode */ function _loadPane() { - if(!Zotero || !Zotero.initialized) return; + if(!Zotero || !Zotero.initialized || Zotero.isConnector) return; - if(!Zotero.isConnector) { - ZoteroPane_Local.clearItemsPaneMessage(); - } + ZoteroPane_Local.clearItemsPaneMessage(); //Initialize collections view ZoteroPane_Local.collectionsView = new Zotero.CollectionTreeView();