From 1952fbccd44f1c12811e6b6abb4b4ca106a064f8 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 16 Apr 2015 17:46:29 -0400 Subject: [PATCH] Wait for Zotero.Searches initialization --- chrome/content/zotero/xpcom/zotero.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 32955d7047..768f1f9724 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -603,7 +603,7 @@ Components.utils.import("resource://gre/modules/osfile.jsm"); Zotero.Collections.init(); Zotero.Items.init(); - Zotero.Searches.init(); + yield Zotero.Searches.init(); Zotero.Groups.init(); yield Zotero.QuickCopy.init();