From 28cc02f954b00a30e42aedaa2f2f0e6b8532a968 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 29 Aug 2011 23:59:59 +0000 Subject: [PATCH] Add a debug call for Zotero.wait() --- chrome/content/zotero/xpcom/zotero.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 631f07940..49669ebdf 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -33,7 +33,8 @@ const ZOTERO_CONFIG = { WWW_BASE_URL: 'http://www.zotero.org/', SYNC_URL: 'https://sync.zotero.org/', API_URL: 'https://api.zotero.org/', - PREF_BRANCH: 'extensions.zotero.' + PREF_BRANCH: 'extensions.zotero.', + BOOKMARKLET_URL: 'https://www.zotero.org/bookmarklet/' }; // Load AddonManager for Firefox 4 @@ -1476,6 +1477,7 @@ if(appInfo.platformVersion[0] >= 2) { _waiting = true; + Zotero.debug("Waiting", 5); do { more = mainThread.processNextEvent(false); //cycles++;